FORTRAN Generation
(/./ftp/cats/J/ApJ/805/31)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/805/31 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/ApJ/805/31 IR-radio luminosities & surface densities of galaxies  (Liu+, 2015)
*================================================================================
*The global star formation laws of galaxies from a radio continuum perspective.
*    Liu L., Gao Y., Greve T.R.
*   <Astrophys. J., 805, 31 (2015)>
*   =2015ApJ...805...31L    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Luminosities

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

      character*7   Type        ! Galaxy type: "Normal" Galaxies or
*                                       "(U)LIRG" = (ultra)luminous IR Galaxy
      character*10  Name        ! Identifier
      real*4        Dist        ! (Mpc) [0.8/313.6] Distance
      real*4        LCO         ! (10+8K.km/s) [0.01/226.5] The CO line luminosity
      real*4        LHCN        ! (10+8K.km/s) [0.02/50.6]? The HCN line luminosity
      real*4        LIR         ! (Lsun) [7.8/12.5] Total 8-1000 micron luminosity
      real*4        LRC         ! (ZW/Hz) [-6.4/864] The 1.4GHz radio continuum luminosity
*                                           (in 10^+21^W.Hz^-1^)
      character*14  Ref         ! Luminosity references (see refs.dat file)

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

C  Declarations for 'table2.dat'	! Surface density

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

      character*7   Type_1      ! Galaxy type: "Normal" Galaxies or
*                                       "(U)LIRG" = (ultra)luminous IR Galaxy
      character*10  Name_1      ! Galaxy identifier
      real*8        Diam1       ! (arcsec) Diameter (deconvolved major axes)
      real*4        Diam2       ! (arcsec) ? Second diameter for interacting
*                                        galaxies (1)
      real*4        logSHI      ! ([Msun/pc2]) [-0.6/1.3]? Log HI atomic surface density
      real*4        logSH2a     ! ([Msun/pc2]) [-0.4/6.1] Log molecular H_2_ gas mass
*                                        surface density (2)
      real*4        logSH2b     ! ([Msun/pc2]) [-0.2/4.9] Log molecular H_2_ gas mass
*                                        surface density (3)
      real*4        logSgas     ! ([Msun/pc2]) [-0.2/6.1] Log total gas surface density
      real*4        logSden     ! ([Msun/pc2]) [-0.5/5.5]? Log dense molecular gas
*                                        surface density
      real*4        logSIR      ! ([Msun/yr/kpc2]) [-2.8/3.9] Star formation rate from
*                                        8-1000{mu}m
      real*4        logSRC      ! ([Msun/yr/kpc2]) [-3.2/3.6] Star formation rate from
*                                        1.4GHz radio continuum
      character*7   Ref2        ! References (see refs.dat file)
      character*11  NRAO        ! Project code(s) in NRAO archive (4)
*Note (1): For interacting galaxies which clearly show two independent
*          components, such as Arp 055 and Arp 220, we gave the radio sizes
*          for both components.
*Note (2): Calculated using a fixed CO-to-H2 conversion factor value of
*          4.6 solar masses (K.km/s.pc^2^)^-1^.
*Note (3): Calculated using continuously-varying {alpha}_CO_.
*Note (4): See NRAO archive (http://archive.nrao.edu/).
*          The (J)VLA observation project codes were given for the radio images
*          reduced in this work. Two project codes were given in the cases that
*          the data sets from two different (J)VLA configurations were combined.

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

C  Declarations for 'refs.dat'	! References

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

      integer*4     Ref_1       ! [1/140] Reference code (1)
      character*19  BibCode     ! Bibcode
      character*23  Auth        ! First author's name(s)
      character*54  Comm        ! Comment
*Note (1): Reference number 1-19 are for CO data, 20-35 are for HCN data,
*          36-41 for IR data and 42-52 for 1.4GHz radio continuum data;
*          101-112 are references for the Radio map and
*          113-140 for the HI atomic surface density.

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

C  Loading file 'table1.dat'	! Luminosities

C  Format for file interpretation

    1 format(A7,9X,A10,1X,F6.2,1X,F6.2,1X,F5.2,1X,F5.2,1X,F6.2,1X,A14)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,181
        read(1,'(A74)')ar__
        read(ar__,1)Type,Name,Dist,LCO,LHCN,LIR,LRC,Ref
        if(ar__(42:46) .EQ. '') LHCN = rNULL__
c    ..............Just test output...........
        write(6,1)Type,Name,Dist,LCO,LHCN,LIR,LRC,Ref
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Surface density

C  Format for file interpretation

    2 format(
     +  A7,9X,A10,1X,F7.2,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,
     +  F5.2,1X,F5.2,1X,F5.2,1X,A7,1X,A11)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,181
        read(1,'(A101)')ar__1
        read(ar__1,2)
     +  Type_1,Name_1,Diam1,Diam2,logSHI,logSH2a,logSH2b,logSgas,
     +  logSden,logSIR,logSRC,Ref2,NRAO
        if(ar__1(36:39) .EQ. '') Diam2 = rNULL__
        if(ar__1(41:45) .EQ. '') logSHI = rNULL__
        if(ar__1(65:69) .EQ. '') logSden = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Type_1,Name_1,Diam1,Diam2,logSHI,logSH2a,logSH2b,logSgas,
     +  logSden,logSIR,logSRC,Ref2,NRAO
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'refs.dat'	! References

C  Format for file interpretation

    3 format(I3,1X,A19,1X,A23,1X,A54)

C  Effective file loading

      open(unit=1,status='old',file=
     +'refs.dat')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,92
        read(1,'(A102)')ar__2
        read(ar__2,3)Ref_1,BibCode,Auth,Comm
c    ..............Just test output...........
        write(6,3)Ref_1,BibCode,Auth,Comm
c    .......End.of.Just test output...........
      end do
      close(1)

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