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 loading all data files into arrays.

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      (nr__) ! (deg) Right Ascension B1950
      real*8        DEdeg      (nr__) ! (deg)     Declination B1950
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     Seq        (nr__) ! Sequence number of the outflow
      character*25  Name       (nr__) ! Source name and the alternative
      character*1   n_Name     (nr__) ! Note on Name, in notes.dat file
      integer*4     RAh        (nr__) ! (h) Right ascension (B1950)
      integer*4     RAm        (nr__) ! (min) Right ascension (B1950)
      real*4        RAs        (nr__) ! (s) Right ascension (B1950)
      character*1   DE_        (nr__) ! Declination sign (B1950)
      integer*4     DEd        (nr__) ! (deg) Declination (B1950)
      integer*4     DEm        (nr__) ! (arcmin) Declination (B1950)
      integer*4     DEs        (nr__) ! (arcsec) Declination (B1950)
      integer*4     GLONd      (nr__) ! (deg) Galactic longitude  (degrees)
      integer*4     GLONm      (nr__) ! (arcmin) Galactic longitude  (arcmin)
      integer*4     GLATd      (nr__) ! (deg) Galactic latitude (degrees)
      integer*4     GLATm      (nr__) ! (arcmin) Galactic latitude (arcmin)
      real*4        Dist       (nr__) ! (kpc) ? Distance from the Sun
      real*4        e_Dist     (nr__) ! (kpc) ? rms uncertainty on Dist
      real*4        Dist2      (nr__) ! (kpc) ? Second value of distance when interval
      real*8        Z          (nr__) ! (pc) ? height from the Galactic plane
      integer*4     Z2         (nr__) ! (pc) ? Second value of height from the
*                                      Galactic plane when interval
      character*1   l_DeltaV   (nr__) ! [~<] Limit flag on DeltaV
      real*4        DeltaV     (nr__) ! (km/s) ?  Full CO line-width
      integer*4     DeltaV2    (nr__) ! (km/s) ? Second possible value for DeltaV
      character*1   n_DeltaV   (nr__) ! [c] Note onDeltaV, in notes.dat file
      character*5   Pol        (nr__) ! Polarity of the outflow (1)
      character*1   n_Pol      (nr__) ! [r ] Note on Pol, in notes.dat file
      character*1   l_Rmax     (nr__) ! Limit flag on  Rmax
      real*4        Rmax       (nr__) ! (pc) ? outflow size
      character*1   f_Rmax     (nr__) ! [_] Flag on Rmax (2)
      real*4        Rmax2      (nr__) ! (pc) ? Second value of outflow size when interval
      character*1   l_R        (nr__) ! [~><] Limit flag on R
      real*4        R          (nr__) ! ? Outflow collimation factor (3)
      character*1   f_R        (nr__) ! [_] Flag on R (2)     .
      character*2   l_Lbol     (nr__) ! [<>=~ ] Limit flag on Lbol
      character*12  Lbol       (nr__) ! (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      (nr__1) ! Sequence number of the outflow
      character*25  Name_1     (nr__1) ! Source name and the alternative
      character*1   n_Name_1   (nr__1) ! Note on Name, in notes.dat file
      character*1   l_Mass     (nr__1) ! [<>~] Limit flag on Mass
      real*8        Mass       (nr__1) ! (solMass) ? Outflow mass
      character*2   n_Mass     (nr__1) ! Note on Mass, in notes.dat file
      real*4        Mass2      (nr__1) ! (solMass) ? Second value of mass when interval
      character*1   n_Mass2    (nr__1) ! Note on Mass2
      character*2   l_P        (nr__1) ! [>=~ ] Limit flag on P
      real*8        P          (nr__1) ! (solMass.km/s) ? Momentum of outflow
      real*8        P2         (nr__1) ! (solMass.km/s) ? Second momentum value
*                                               when interval
      character*1   u_P        (nr__1) ! [)] Uncertainty flag on P
      character*2   l_E        (nr__1) ! [>=~ ] Limit flag on E
      real*8        E          (nr__1) ! (10+38J) ? Kinetic energy of outflow
      real*8        E2         (nr__1) ! (10+38J) ? Second kinetic energy value
*                                               when interval
      character*1   u_E2       (nr__1) ! [)] Uncertainty flag on E2
      character*2   l_t        (nr__1) ! [><=~ ] Limit flag on t
      real*4        t          (nr__1) ! (10+4yr) ? Dynamical time of outflow
      real*4        t2         (nr__1) ! (10+4yr) ? Second dynamical time value
*                                               when interval
      character*1   n_t        (nr__1) ! [s] Note on t, in notes.dat file
      character*1   l_Lm       (nr__1) ! [<>~] Limit flag on Lm
      real*8        Lm         (nr__1) ! (solLum) ? Mechanical luminosity of outflow
      real*4        Lm2        (nr__1) ! (solLum) ? Second mechanical luminosity value
*                                               when interval
      character*1   u_Lm2      (nr__1) ! [)] Uncertainty flag on Lm2
      character*1   l_F        (nr__1) ! [<>~] Limit flag on F
      real*8        F          (nr__1) ! (10-4solMass.km/s/yr) ? Driving force
      real*4        e_F        (nr__1) ! (10-4solMass.km/s/yr) ? rms uncertainty on F
      real*8        F2         (nr__1) ! (10-4solMass.km/s/yr) ? Second value of driving force
*                                               when interval
      character*1   l_dM_dt    (nr__1) ! [>~] Limit flag on dM/dt
      real*8        dM_dt      (nr__1) ! (10-4solMass/yr) ? Mass loss rate of the central
*                                               stellar source
      real*4        dM_dt2     (nr__1) ! (10-4solMass/yr) ? Second mass loss rate value
*                                               when interval
      character*1   n_dM_dt    (nr__1) ! [c] Note on dM/dt, in notes.dat file
      character*6   IIH2WI     (nr__1) ! Phenomena associated (2)
      character*1   n_IIH2WI   (nr__1) ! [a] Note on IIH2WI
      character*26  r_Seq      (nr__1) ! 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       (nr__2) ! Note code
      character*78  Text       (nr__2) ! 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        (nr__3) ! Reference number
      character*19  BibCode    (nr__3) ! BibCode
      character*28  Aut        (nr__3) ! Author's name
      character*173 Com        (nr__3) ! 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(i__),Name(i__),n_Name(i__),RAh(i__),RAm(i__),RAs(i__),
     +  DE_(i__),DEd(i__),DEm(i__),DEs(i__),GLONd(i__),GLONm(i__),
     +  GLATd(i__),GLATm(i__),Dist(i__),e_Dist(i__),Dist2(i__),Z(i__),
     +  Z2(i__),l_DeltaV(i__),DeltaV(i__),DeltaV2(i__),n_DeltaV(i__),
     +  Pol(i__),n_Pol(i__),l_Rmax(i__),Rmax(i__),f_Rmax(i__),
     +  Rmax2(i__),l_R(i__),R(i__),f_R(i__),l_Lbol(i__),Lbol(i__)
        if(ar__(67:72) .EQ. '') Dist(i__) = rNULL__
        if(ar__(74:77) .EQ. '') e_Dist(i__) = rNULL__
        if(ar__(79:81) .EQ. '') Dist2(i__) = rNULL__
        if(ar__(83:89) .EQ. '') Z(i__) = rNULL__
        if(ar__(91:92) .EQ. '') Z2(i__) = iNULL__
        if(ar__(95:100) .EQ. '') DeltaV(i__) = rNULL__
        if(ar__(101:103) .EQ. '') DeltaV2(i__) = iNULL__
        if(ar__(114:118) .EQ. '') Rmax(i__) = rNULL__
        if(ar__(121:123) .EQ. '') Rmax2(i__) = rNULL__
        if(ar__(125:129) .EQ. '') R(i__) = rNULL__
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
        if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),Name(i__),n_Name(i__),RAh(i__),RAm(i__),RAs(i__),
     +  DE_(i__),DEd(i__),DEm(i__),DEs(i__),GLONd(i__),GLONm(i__),
     +  GLATd(i__),GLATm(i__),Dist(i__),e_Dist(i__),Dist2(i__),Z(i__),
     +  Z2(i__),l_DeltaV(i__),DeltaV(i__),DeltaV2(i__),n_DeltaV(i__),
     +  Pol(i__),n_Pol(i__),l_Rmax(i__),Rmax(i__),f_Rmax(i__),
     +  Rmax2(i__),l_R(i__),R(i__),f_R(i__),l_Lbol(i__),Lbol(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
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(i__),Name_1(i__),n_Name_1(i__),l_Mass(i__),Mass(i__),
     +  n_Mass(i__),Mass2(i__),n_Mass2(i__),l_P(i__),P(i__),P2(i__),
     +  u_P(i__),l_E(i__),E(i__),E2(i__),u_E2(i__),l_t(i__),t(i__),
     +  t2(i__),n_t(i__),l_Lm(i__),Lm(i__),Lm2(i__),u_Lm2(i__),
     +  l_F(i__),F(i__),e_F(i__),F2(i__),l_dM_dt(i__),dM_dt(i__),
     +  dM_dt2(i__),n_dM_dt(i__),IIH2WI(i__),n_IIH2WI(i__),r_Seq(i__)
        if(ar__1(33:42) .EQ. '') Mass(i__) = rNULL__
        if(ar__1(47:51) .EQ. '') Mass2(i__) = rNULL__
        if(ar__1(56:65) .EQ. '') P(i__) = rNULL__
        if(ar__1(67:73) .EQ. '') P2(i__) = rNULL__
        if(ar__1(78:90) .EQ. '') E(i__) = rNULL__
        if(ar__1(92:100) .EQ. '') E2(i__) = rNULL__
        if(ar__1(105:110) .EQ. '') t(i__) = rNULL__
        if(ar__1(112:116) .EQ. '') t2(i__) = rNULL__
        if(ar__1(120:130) .EQ. '') Lm(i__) = rNULL__
        if(ar__1(132:137) .EQ. '') Lm2(i__) = rNULL__
        if(ar__1(141:149) .EQ. '') F(i__) = rNULL__
        if(ar__1(151:156) .EQ. '') e_F(i__) = rNULL__
        if(ar__1(158:169) .EQ. '') F2(i__) = rNULL__
        if(ar__1(172:180) .EQ. '') dM_dt(i__) = rNULL__
        if(ar__1(182:187) .EQ. '') dM_dt2(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Seq_1(i__),Name_1(i__),n_Name_1(i__),l_Mass(i__),Mass(i__),
     +  n_Mass(i__),Mass2(i__),n_Mass2(i__),l_P(i__),P(i__),P2(i__),
     +  u_P(i__),l_E(i__),E(i__),E2(i__),u_E2(i__),l_t(i__),t(i__),
     +  t2(i__),n_t(i__),l_Lm(i__),Lm(i__),Lm2(i__),u_Lm2(i__),
     +  l_F(i__),F(i__),e_F(i__),F2(i__),l_dM_dt(i__),dM_dt(i__),
     +  dM_dt2(i__),n_dM_dt(i__),IIH2WI(i__),n_IIH2WI(i__),r_Seq(i__)
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(i__),Text(i__)
c    ..............Just test output...........
        write(6,3)Note(i__),Text(i__)
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(i__),BibCode(i__),Aut(i__),Com(i__)
c    ..............Just test output...........
        write(6,4)Ref(i__),BibCode(i__),Aut(i__),Com(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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