FORTRAN Generation
(/./ftp/cats/J/ApJS/230/17)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/230/17 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 2024-Apr-19
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/ApJS/230/17   CO obs. of MCs in the Extreme Outer Galaxy region   (Sun+, 2017)
*================================================================================
*Molecular clouds in the Extreme Outer Galaxy between l=34.75{deg} to 45.25{deg}.
*    Sun Y., Su Y., Zhang S.-B., Xu Y., Chen X.-P., Yang J., Jiang Z.-B.,
*    Fang M.
*   <Astrophys. J. Suppl. Ser., 230, 17-17 (2017)>
*   =2017ApJS..230...17S    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Parameters of molecular clouds (MCs) derived
                            by ^12^CO(1-0)

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

      character*13  MWISP       ! Cloud identifier (GLL.lll+B.bbb) (1)
      character*2   f_MWISP     ! Flag on MWISP (2)
      real*4        VLSR        ! (km/s) [-74/-45] Local Standard of Rest
*                                     velocity (3)
      real*4        DelV        ! (km/s) [0.5/5.3] Line width Full-Width
*                                     at Half-Maximum (3)
      real*4        Int         ! (K.km/s) [1/21] Integrated ^12^CO intensity (3)
      real*4        Tpk         ! (K) [1/7] Peak intensity (3)
      real*4        Area        ! (arcmin2) [0.9/27] Angular area defined by
*                                     3{sigma} limits
      real*4        Dist        ! (kpc) [16.6/20] Heliocentric distance (4)
      real*4        R           ! (kpc) [11.6/14.1] Galactocentric distance (4)
      real*4        Z           ! (kpc) [-0.5/1.5] Vertical scale height (5)
      real*4        Rad         ! (pc) [1/15] Cloud radius after
*                                     beam deconvolution
      real*4        Mass        ! (10+2Msun) [1/139] Cloud mass (6)
      real*4        Mvir        ! (10+2Msun) [1/691] Virial mass
      real*4        Sigma       ! (Msun/pc2) [5.5/29.2] Molecular gas surface density
*Note (1): Designated as MWISP (for CO survey project name: Milky Way Imaging
*          Scroll Painting) followed by the Galactic longitude and latitude
*          coordinates of the peak of the emission in degrees.
*Note (2): Flag as follows:
*    * = Also listed in Su et al. (2016, J/ApJ/828/59).
*    d = Sources with V_LSR_>-1.6l+13.2km/s probably lie in the Outer arm.
*Note (3): For the single Gaussian fitting results of the brightest
*          CO spectrum of the MCs.
*Note (4): Assuming the rotation curve and Galactic parameters obtained
*          by Reid et al. (2014, J/ApJ/783/130).
*Note (5): Defined by Z=Dist*sin(b) where b is the Galactic latitude.
*Note (6): Calculated using X=2.0x10^20^cm^-2^ (K.km/s)^-1^
*          (Bolatto et al. 2013ARA&A..51..207B).

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

C  Declarations for 'table2.dat'	! Molecular clouds marginally detected by this study

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

      character*13  Name        ! Cloud identifier
      real*4        VLSR_1      ! (km/s) [-69/-48] Local Standard of Rest velocity

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

C  Declarations for 'table3.dat'	! Parameters of molecular clouds derived by ^13^CO(1-0)

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

      character*13  MWISP_1     ! Cloud identifier (GLL.lll+B.bbb)
      character*1   f_MWISP_1   ! [t] t: sources belong to the same
*                                    cloud MWISP G37.175+0.792
      real*4        VLSR_2      ! (km/s) [-64/-45] Local Standard of Rest velocity (1)
      real*4        e_VLSR      ! (km/s) [0.04/0.2] VLSR uncertainty
      real*4        DelV_1      ! (km/s) [0.5/4.5] Line width Full-Width
*                                    at Half-Maximum (1)
      real*4        e_DelV      ! (km/s) [0.1/0.7] DelV uncertainty
      real*4        Int_1       ! (K.km/s) [0.3/2.8] Integrated ^13^CO intensity (1)
      real*4        e_Int       ! (K.km/s) [0.06/0.4] Int uncertainty
      real*4        Tpk_1       ! (K) [0.3/1.3] Peak intensity (1)
      real*4        v12CO_13CO  ! [2.8/14.3]? Integrated intensity ratio of
*                                    ^12^C0 and ^13^CO
      real*4        rms         ! (K) [0.1/0.3] rms level of each detection with a
*                                    velocity resolution of 0.166km/s (2)
*Note (1): The single Gaussian fitting results of the brightest ^13^CO spectrum
*          of the molecular clouds.
*Note (2): Those with values larger than 0.2K are the rms values of a single
*          pixel; otherwise, the rms was averaged over nine pixels.

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

C  Loading file 'table1.dat'	! Parameters of molecular clouds (MCs) derived
*                            by ^12^CO(1-0)

C  Format for file interpretation

    1 format(
     +  6X,A13,1X,A2,1X,F5.1,1X,F3.1,1X,F4.1,1X,F3.1,1X,F4.1,1X,F4.1,
     +  1X,F4.1,1X,F4.1,1X,F4.1,1X,F5.1,1X,F5.1,1X,F4.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,174
        read(1,'(A83)')ar__
        read(ar__,1)
     +  MWISP,f_MWISP,VLSR,DelV,Int,Tpk,Area,Dist,R,Z,Rad,Mass,Mvir,
     +  Sigma
c    ..............Just test output...........
        write(6,1)
     +  MWISP,f_MWISP,VLSR,DelV,Int,Tpk,Area,Dist,R,Z,Rad,Mass,Mvir,
     +  Sigma
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Molecular clouds marginally detected by this study

C  Format for file interpretation

    2 format(A13,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,23
        read(1,'(A19)')ar__1
        read(ar__1,2)Name,VLSR_1
c    ..............Just test output...........
        write(6,2)Name,VLSR_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Parameters of molecular clouds derived by ^13^CO(1-0)

C  Format for file interpretation

    3 format(
     +  6X,A13,1X,A1,1X,F5.1,1X,F4.2,1X,F3.1,1X,F4.2,1X,F3.1,1X,F4.2,
     +  1X,F3.1,1X,F4.1,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,35
        read(1,'(A64)')ar__2
        read(ar__2,3)
     +  MWISP_1,f_MWISP_1,VLSR_2,e_VLSR,DelV_1,e_DelV,Int_1,e_Int,
     +  Tpk_1,v12CO_13CO,rms
        if(ar__2(56:59) .EQ. '') v12CO_13CO = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  MWISP_1,f_MWISP_1,VLSR_2,e_VLSR,DelV_1,e_DelV,Int_1,e_Int,
     +  Tpk_1,v12CO_13CO,rms
c    .......End.of.Just test output...........
      end do
      close(1)

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