FORTRAN Generation
(/./ftp/cats/J/A_A/426/503)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/426/503 into FORTRAN code for reading data files line by line.

Note that special values are assigned to unknown or unspecified numbers (also called NULL numbers); when necessary, the coordinate components making up the right ascension and declination are converted into floating-point numbers representing these angles in degrees.



      program load_ReadMe
C=============================================================================
C  F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2026-Oct-09
C=============================================================================
*  This code was generated from the ReadMe file documenting a catalogue
*  according to the "Standard for Documentation of Astronomical Catalogues"
*  currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
*  (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
*  Please report problems or questions to   
C=============================================================================

      implicit none
*  Unspecified or NULL values, generally corresponding to blank columns,
*  are assigned one of the following special values:
*     rNULL__    for unknown or NULL floating-point values
*     iNULL__    for unknown or NULL   integer      values
      real*4     rNULL__
      integer*4  iNULL__
      parameter  (rNULL__=--2147483648.)  	! NULL real number
      parameter  (iNULL__=(-2147483647-1))	! NULL int  number
      integer    idig			! testing NULL number

C=============================================================================
Cat. J/A+A/426/503  Catalogue of high velocity molecular outflows (Update) (Wu+ 2004)
*================================================================================
*A study of high velocity molecular outflows with an up-to-date sample.
*    Wu Y., Wei Y., Zhao M., Shi Y., Yu W., Qin S., Huang M.
*   <Astron. Astrophys. 426, 503 (2004)>
*   =2004A&A...426..503W
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1a.dat'	! CO outflows, and their basic parameters

      integer*4 nr__
      parameter (nr__=526)	! Number of records
      character*145 ar__   	! Full-size record

C  B1950 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg       ! (deg) Right Ascension B1950
      real*8        DEdeg       ! (deg)     Declination B1950
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     Seq         ! Sequence number of the outflow
      character*25  Name        ! Source name and the alternative
      character*1   n_Name      ! Note on Name, in notes.dat file
      integer*4     RAh         ! (h) Right ascension (B1950)
      integer*4     RAm         ! (min) Right ascension (B1950)
      real*4        RAs         ! (s) Right ascension (B1950)
      character*1   DE_         ! Declination sign (B1950)
      integer*4     DEd         ! (deg) Declination (B1950)
      integer*4     DEm         ! (arcmin) Declination (B1950)
      integer*4     DEs         ! (arcsec) Declination (B1950)
      integer*4     GLONd       ! (deg) Galactic longitude  (degrees)
      integer*4     GLONm       ! (arcmin) Galactic longitude  (arcmin)
      integer*4     GLATd       ! (deg) Galactic latitude (degrees)
      integer*4     GLATm       ! (arcmin) Galactic latitude (arcmin)
      real*4        Dist        ! (kpc) ? Distance from the Sun
      real*4        e_Dist      ! (kpc) ? rms uncertainty on Dist
      real*4        Dist2       ! (kpc) ? Second value of distance when interval
      real*8        Z           ! (pc) ? height from the Galactic plane
      integer*4     Z2          ! (pc) ? Second value of height from the
*                                      Galactic plane when interval
      character*1   l_DeltaV    ! [~<] Limit flag on DeltaV
      real*4        DeltaV      ! (km/s) ?  Full CO line-width
      integer*4     DeltaV2     ! (km/s) ? Second possible value for DeltaV
      character*1   n_DeltaV    ! [c] Note onDeltaV, in notes.dat file
      character*5   Pol         ! Polarity of the outflow (1)
      character*1   n_Pol       ! [r ] Note on Pol, in notes.dat file
      character*1   l_Rmax      ! Limit flag on  Rmax
      real*4        Rmax        ! (pc) ? outflow size
      character*1   f_Rmax      ! [_] Flag on Rmax (2)
      real*4        Rmax2       ! (pc) ? Second value of outflow size when interval
      character*1   l_R         ! [~><] Limit flag on R
      real*4        R           ! ? Outflow collimation factor (3)
      character*1   f_R         ! [_] Flag on R (2)     .
      character*2   l_Lbol      ! [<>=~ ] Limit flag on Lbol
      character*12  Lbol        ! (solLum) Bolometric luminosity of the center source
*Note (1): Bipolarity:
*     `Bi' represents bipolar outflow;
*     `MB' and `MR' indicate blue and red monopolar outflows,
*  `Multi' means multiple outflows and `Iso' isotropic outflows.
*Note (2): The underlined value is quoted from references where
*      the same method was employed.
*Note (3): The collimation factor is the ratio of the major to
*      minor radii of the outflow considered as an ellipsoid.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1b.dat'	! Physical properties of CO outflows

      integer*4 nr__1
      parameter (nr__1=603)	! Number of records
      character*223 ar__1  	! Full-size record

      integer*4     Seq_1       ! Sequence number of the outflow
      character*25  Name_1      ! Source name and the alternative
      character*1   n_Name_1    ! Note on Name, in notes.dat file
      character*1   l_Mass      ! [<>~] Limit flag on Mass
      real*8        Mass        ! (solMass) ? Outflow mass
      character*2   n_Mass      ! Note on Mass, in notes.dat file
      real*4        Mass2       ! (solMass) ? Second value of mass when interval
      character*1   n_Mass2     ! Note on Mass2
      character*2   l_P         ! [>=~ ] Limit flag on P
      real*8        P           ! (solMass.km/s) ? Momentum of outflow
      real*8        P2          ! (solMass.km/s) ? Second momentum value
*                                               when interval
      character*1   u_P         ! [)] Uncertainty flag on P
      character*2   l_E         ! [>=~ ] Limit flag on E
      real*8        E           ! (10+38J) ? Kinetic energy of outflow
      real*8        E2          ! (10+38J) ? Second kinetic energy value
*                                               when interval
      character*1   u_E2        ! [)] Uncertainty flag on E2
      character*2   l_t         ! [><=~ ] Limit flag on t
      real*4        t           ! (10+4yr) ? Dynamical time of outflow
      real*4        t2          ! (10+4yr) ? Second dynamical time value
*                                               when interval
      character*1   n_t         ! [s] Note on t, in notes.dat file
      character*1   l_Lm        ! [<>~] Limit flag on Lm
      real*8        Lm          ! (solLum) ? Mechanical luminosity of outflow
      real*4        Lm2         ! (solLum) ? Second mechanical luminosity value
*                                               when interval
      character*1   u_Lm2       ! [)] Uncertainty flag on Lm2
      character*1   l_F         ! [<>~] Limit flag on F
      real*8        F           ! (10-4solMass.km/s/yr) ? Driving force
      real*4        e_F         ! (10-4solMass.km/s/yr) ? rms uncertainty on F
      real*8        F2          ! (10-4solMass.km/s/yr) ? Second value of driving force
*                                               when interval
      character*1   l_dM_dt     ! [>~] Limit flag on dM/dt
      real*8        dM_dt       ! (10-4solMass/yr) ? Mass loss rate of the central
*                                               stellar source
      real*4        dM_dt2      ! (10-4solMass/yr) ? Second mass loss rate value
*                                               when interval
      character*1   n_dM_dt     ! [c] Note on dM/dt, in notes.dat file
      character*6   IIH2WI      ! Phenomena associated (2)
      character*1   n_IIH2WI    ! [a] Note on IIH2WI
      character*26  r_Seq       ! Reference numbers, in refs.dat file
*Note (1): Flags:
*      "-" for interval,
*      "^" when originally in dexp form (10^x^)
*Note (2): Phenomena associated:
*   `II': indicates HII region
*    `H': indicates optical jet or HH object
*    `2': indicates H_2_ jet
*    `W': indicates water maser
*    `I': indicates infall or collapse

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'notes.dat'	! Notes

      integer*4 nr__2
      parameter (nr__2=30)	! Number of records
      character*80 ar__2  	! Full-size record

      character*1   Note        ! Note code
      character*78  Text        ! Text of the note

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'refs.dat'	! References

      integer*4 nr__3
      parameter (nr__3=423)	! Number of records
      character*225 ar__3  	! Full-size record

      integer*4     Ref         ! Reference number
      character*19  BibCode     ! BibCode
      character*28  Aut         ! Author's name
      character*173 Com         ! Comments

C=============================================================================

C  Loading file 'table1a.dat'	! CO outflows, and their basic parameters

C  Format for file interpretation

    1 format(
     +  I3,1X,A25,A1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,I3,
     +  1X,I2,1X,I3,1X,I2,1X,F6.3,1X,F4.2,1X,F3.1,1X,F7.2,1X,I2,1X,A1,
     +  F6.2,I3,A1,1X,A5,A1,1X,A1,F5.3,A1,1X,F3.1,A1,F5.2,A1,1X,A2,A12)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1a.dat')
      write(6,*) '....Loading file: table1a.dat'
      do i__=1,526
        read(1,'(A145)')ar__
        read(ar__,1)
     +  Seq,Name,n_Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,GLONd,GLONm,GLATd,
     +  GLATm,Dist,e_Dist,Dist2,Z,Z2,l_DeltaV,DeltaV,DeltaV2,n_DeltaV,
     +  Pol,n_Pol,l_Rmax,Rmax,f_Rmax,Rmax2,l_R,R,f_R,l_Lbol,Lbol
        if(ar__(67:72) .EQ. '') Dist = rNULL__
        if(ar__(74:77) .EQ. '') e_Dist = rNULL__
        if(ar__(79:81) .EQ. '') Dist2 = rNULL__
        if(ar__(83:89) .EQ. '') Z = rNULL__
        if(ar__(91:92) .EQ. '') Z2 = iNULL__
        if(ar__(95:100) .EQ. '') DeltaV = rNULL__
        if(ar__(101:103) .EQ. '') DeltaV2 = iNULL__
        if(ar__(114:118) .EQ. '') Rmax = rNULL__
        if(ar__(121:123) .EQ. '') Rmax2 = rNULL__
        if(ar__(125:129) .EQ. '') R = rNULL__
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
        if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
        if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c    ..............Just test output...........
        write(6,1)
     +  Seq,Name,n_Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,GLONd,GLONm,GLATd,
     +  GLATm,Dist,e_Dist,Dist2,Z,Z2,l_DeltaV,DeltaV,DeltaV2,n_DeltaV,
     +  Pol,n_Pol,l_Rmax,Rmax,f_Rmax,Rmax2,l_R,R,f_R,l_Lbol,Lbol
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table1b.dat'	! Physical properties of CO outflows

C  Format for file interpretation

    2 format(
     +  I3,1X,A25,A1,1X,A1,F10.5,1X,A2,1X,F5.2,A1,1X,A2,F10.4,1X,F7.3,
     +  A1,1X,A2,F13.8,1X,F9.5,A1,1X,A2,F6.3,1X,F5.2,A1,1X,A1,F11.6,
     +  1X,F6.3,A1,1X,A1,F9.4,1X,F6.4,1X,F12.4,1X,A1,F9.5,1X,F6.3,A1,
     +  1X,A6,A1,1X,A26)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1b.dat')
      write(6,*) '....Loading file: table1b.dat'
      do i__=1,603
        read(1,'(A223)')ar__1
        read(ar__1,2)
     +  Seq_1,Name_1,n_Name_1,l_Mass,Mass,n_Mass,Mass2,n_Mass2,l_P,P,
     +  P2,u_P,l_E,E,E2,u_E2,l_t,t,t2,n_t,l_Lm,Lm,Lm2,u_Lm2,l_F,F,e_F,
     +  F2,l_dM_dt,dM_dt,dM_dt2,n_dM_dt,IIH2WI,n_IIH2WI,r_Seq
        if(ar__1(33:42) .EQ. '') Mass = rNULL__
        if(ar__1(47:51) .EQ. '') Mass2 = rNULL__
        if(ar__1(56:65) .EQ. '') P = rNULL__
        if(ar__1(67:73) .EQ. '') P2 = rNULL__
        if(ar__1(78:90) .EQ. '') E = rNULL__
        if(ar__1(92:100) .EQ. '') E2 = rNULL__
        if(ar__1(105:110) .EQ. '') t = rNULL__
        if(ar__1(112:116) .EQ. '') t2 = rNULL__
        if(ar__1(120:130) .EQ. '') Lm = rNULL__
        if(ar__1(132:137) .EQ. '') Lm2 = rNULL__
        if(ar__1(141:149) .EQ. '') F = rNULL__
        if(ar__1(151:156) .EQ. '') e_F = rNULL__
        if(ar__1(158:169) .EQ. '') F2 = rNULL__
        if(ar__1(172:180) .EQ. '') dM_dt = rNULL__
        if(ar__1(182:187) .EQ. '') dM_dt2 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Seq_1,Name_1,n_Name_1,l_Mass,Mass,n_Mass,Mass2,n_Mass2,l_P,P,
     +  P2,u_P,l_E,E,E2,u_E2,l_t,t,t2,n_t,l_Lm,Lm,Lm2,u_Lm2,l_F,F,e_F,
     +  F2,l_dM_dt,dM_dt,dM_dt2,n_dM_dt,IIH2WI,n_IIH2WI,r_Seq
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'notes.dat'	! Notes

C  Format for file interpretation

    3 format(A1,1X,A78)

C  Effective file loading

      open(unit=1,status='old',file=
     +'notes.dat')
      write(6,*) '....Loading file: notes.dat'
      do i__=1,30
        read(1,'(A80)')ar__2
        read(ar__2,3)Note,Text
c    ..............Just test output...........
        write(6,3)Note,Text
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'refs.dat'	! References

C  Format for file interpretation

    4 format(I3,1X,A19,1X,A28,A173)

C  Effective file loading

      open(unit=1,status='old',file=
     +'refs.dat')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,423
        read(1,'(A225)')ar__3
        read(ar__3,4)Ref,BibCode,Aut,Com
c    ..............Just test output...........
        write(6,4)Ref,BibCode,Aut,Com
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end