FORTRAN Generation
(/./ftp/cats/J/AJ/163/174)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/163/174 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-Aug-16
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/AJ/163/174        IRTF/VLT M-band spectroscopic survey       (Banzatti+, 2022)
*================================================================================
*Scanning Disk Rings and Winds in CO at 0.01-10au; A High-resolution M-band
*Spectroscopy Survey with IRTF-iSHELL
*    Banzatti A., Abernathy K.M., Brittain S., Bosman A.D., Pontoppidan K.M.,
*    Boogert A., Jensen S., Carr J., Najita J., Grant S., Sigler R.M.,
*    Sanchez M.A., Kern J., Rayner J.T.
*   <Astron. J., 163, 174 (2022)>
*   =2022AJ....163..174B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Measured CO line properties from the iSHELL survey

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

      integer*4     Line        ! [0/3] Line(s) type (1)
      character*8   Name        ! Object name
      character*3   Comp        ! ? CO component (2)
      real*4        S           ! [1.2/12.3]? Line shape parameter; see S4.2
      real*4        Cen         ! (km/s) [-25.1/27.8]? Line component centroid (3)
      real*4        FWHM        ! (km/s) [3/242]? Line component
*                                   full-width-at-half-maximum (3)
      real*4        FW10_       ! (km/s) [11.8/267]? Line full-width-at-10%-maximum (3)
      real*4        F_low_J     ! (mW/m2) [7.9e-16/6.8e-14] Flux of v=1-0 low Jlines (4)
      real*4        e_F_low_J   ! (mW/m2) [1.2e-17/2.4e-15] Uncertainty in F(low-J) (4)
      real*4        F_high_J    ! (mW/m2) [0/6.4e-14] Flux of v=1-0 high-J lines (4)
      real*4        e_F_high_J  ! (mW/m2) [1.2e-17/1.3e-15] Uncertainty in F(high-J) (4)
      real*4        F_v2_1      ! (mW/m2) [0/2.9e-14] Flux of v=2-1 lines  (4)
      real*4        e_F_v2_1    ! (mW/m2) [6e-18/1.2e-14] Uncertainty in F(v2-1) (4)
      real*4        F_13CO      ! (mW/m2) [-3.6e-17/5.8e-15] Flux of 13CO v=1-0lines (4)
      real*4        e_F_13CO    ! (mW/m2) [0/1.4e-14] Flux error of 13CO v=1-0lines (4)
*Note (1): Types as follows:
*    0 = Unidentified/undetected
*    1 = Double-peak lines (associated to disk rings);
*    2 = Triangular lines (associated to disk + winds);
*    3 = Absorption lines.
*Note (2): Component types as follows:
*      BC = broad component
*      NC = narrow component
*      SC = single component
*      abs = absorption
*Note (3): in heliocentric reference as measured in the ^12^COv=1-0 lines.
*          Note that the Cen column is not corrected for stellar radial
*          velocities (Table 2) and the FW10% column are measured from the full
*          line profile only, not for BC and NC separately.
*Note (4): Measured from  the continuum-normalized spectra. They can be used
*          for line flux ratios as done in this paper, but should be flux
*          calibrated with the W2 flux reported in Table 2 before using them
*          individually.

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

C  Declarations for 'table4.dat'	! Measured CO line properties from the CRIRES sample
                              included in this work

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

      integer*4     Line_1      ! [1/3] Line(s) type (1)
      character*9   Name_1      ! Object name
      character*3   Comp_1      ! CO component (2)
      real*4        S_1         ! [1.4/10.8] Line shape parameter; see S4.2
      real*4        Cen_1       ! (km/s) [-15.2/26.6] Line component centroid (3)
      real*4        FWHM_1      ! (km/s) [3/148] Line component
*                                   full-width-at-half-maximum (3)
      real*4        FW10        ! (km/s) [12.9/216] Line full-width-at-10%-maximum (3)
      real*4        F_low_J_1   ! (mW/m2) [1.7e-15/1.1e-13] Flux of v=1-0 low Jlines (4)
      real*4        e_F_low_J_1 ! (mW/m2) [9.9e-18/3.3e-15] Uncertainty in F(low-J) (4)
      real*4        F_high_J_1  ! (mW/m2) [0/9.3e-14] Flux of v=1-0 high-J lines (4)
      real*4        e_F_high_J_1 ! (mW/m2) [0/5.4e-16] Uncertainty in F(high-J) (4)
      real*4        F_v2_1_1    ! (mW/m2) [0/2.7e-14] Flux of v=2-1 lines (4)
      real*4        e_F_v2_1_1  ! (mW/m2) [5.8e-18/1.7e-14] Uncertainty in F(v2-1) (4)
      real*4        F_13CO_1    ! (mW/m2) [0/5.7e-15] Flux of 13CO v=1-0 lines (4)
      real*4        e_F_13CO_1  ! (mW/m2) [0/1.3e-14] Flux error of 13CO v=1-0 lines (4)
*Note (1): Types as follows:
*    1 = Double-peak lines (associated to disk rings);
*    2 = Triangular lines (associated to disk + winds);
*    3 = Absorption lines.
*Note (2): Component types as follows:
*      BC = broad component
*      NC = narrow component
*      SC = single component
*      abs = absorption
*Note (3): in heliocentric reference as measured in the ^12^CO v=1-0 lines.
*          Note that the Cen column is not corrected for stellar radial
*          velocities (Table 2) and the FW10% column are measured from the full
*          line profile only, not for BC and NC separately.
*Note (4): Measured from  the continuum-normalized spectra. They can be used
*          for line flux ratios as done in this paper, but should be flux
*          calibrated with the W2 flux reported in Table 2 before using them
*          individually.

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

C  Loading file 'table3.dat'	! Measured CO line properties from the iSHELL survey

C  Format for file interpretation

    1 format(
     +  I1,1X,A8,1X,A3,1X,F4.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,E8.2,1X,
     +  E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X,E9.2,1X,E8.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,51
        read(1,'(A110)')ar__
        read(ar__,1)
     +  Line,Name,Comp,S,Cen,FWHM,FW10_,F_low_J,e_F_low_J,F_high_J,
     +  e_F_high_J,F_v2_1,e_F_v2_1,F_13CO,e_F_13CO
        if(ar__(16:19) .EQ. '') S = rNULL__
        if(ar__(21:25) .EQ. '') Cen = rNULL__
        if(ar__(27:31) .EQ. '') FWHM = rNULL__
        if(ar__(33:37) .EQ. '') FW10_ = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Line,Name,Comp,S,Cen,FWHM,FW10_,F_low_J,e_F_low_J,F_high_J,
     +  e_F_high_J,F_v2_1,e_F_v2_1,F_13CO,e_F_13CO
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Measured CO line properties from the CRIRES sample
*                              included in this work

C  Format for file interpretation

    2 format(
     +  I1,1X,A9,1X,A3,1X,F4.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,E8.2,1X,
     +  E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,55
        read(1,'(A110)')ar__1
        read(ar__1,2)
     +  Line_1,Name_1,Comp_1,S_1,Cen_1,FWHM_1,FW10,F_low_J_1,
     +  e_F_low_J_1,F_high_J_1,e_F_high_J_1,F_v2_1_1,e_F_v2_1_1,
     +  F_13CO_1,e_F_13CO_1
c    ..............Just test output...........
        write(6,2)
     +  Line_1,Name_1,Comp_1,S_1,Cen_1,FWHM_1,FW10,F_low_J_1,
     +  e_F_low_J_1,F_high_J_1,e_F_high_J_1,F_v2_1_1,e_F_v2_1_1,
     +  F_13CO_1,e_F_13CO_1
c    .......End.of.Just test output...........
      end do
      close(1)

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