FORTRAN Generation
(/./ftp/cats/J/MNRAS/394/1857)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/394/1857 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 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/MNRAS/394/1857     H_2_/HI ratio in galaxies               (Obreschkow+, 2009)
*================================================================================
*Understanding the H_2_/HI ratio in galaxies.
*    Obreschkow D., Rawlings S.
*   <Mon. Not. R. Astron. Soc., 394, 1857-1874 (2009)>
*   =2009MNRAS.394.1857O
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! Homogenized galaxy sample based on data drawn
                              from the literature

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

      character*12  Name       (nr__) ! Galaxy name
      real*4        TType      (nr__) ! Numerical Hubble type
      real*4        Dl         (nr__) ! (Mpc) Luminosity distance (in Mpc/h)
      real*4        MB_5logh   (nr__) ! Absolute magnitude (1)
      real*4        X          (nr__) ! X-factor derived from MB (Eq. 8) without
*                                     addition of Gaussian scatter (2)
      real*4        log_MH2_X  (nr__) ! ([solMass]) H2 mass (in h^-2^M_{sun}_ units)
      integer*4     r_log_MH2_X(nr__) ! H2 reference (3)
      real*4        log_MHI    (nr__) ! ([solMass]) HI mass (in h^-2^M_{sun}_ units)
*Note (1): Where M_B_ is the extinction-corrected absolute blue magnitude
*Note (2): Eq. (8): log(X)=3.36+0.160(M_B_-5logh)+/-{sigma}_X_
*Note (3): Reference as follows:
*      1 = Welch & Sage (2003ApJ...584..260W),
*          Sage & Welch (2006ApJ...644..850S)
*      2 = Matthews et al. (2005AJ....129.1849M)
*      3 = Sauty et al. (2003, Cat. J/A+A/411/381)
*      4 = Georgakakis et al. (2001MNRAS.326.1431G)
*      5 = Andreani et al. (1995A&A...300...43A)
*      6 = Sage (1993A&A...272..123S)
*      7 = Lees et al. (1991ApJ...379..177L)
*      8 = Thronson et al. (1989ApJ...344..747T)
*      9 = Young & Knezek (1989ApJ...347L..55Y)

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

C  Loading file 'tablea1.dat'	! Homogenized galaxy sample based on data drawn
*                              from the literature

C  Format for file interpretation

    1 format(A12,F4.1,1X,F5.1,1X,F6.2,1X,F5.2,1X,F4.2,1X,I1,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,245
        read(1,'(A48)')ar__
        read(ar__,1)
     +  Name(i__),TType(i__),Dl(i__),MB_5logh(i__),X(i__),
     +  log_MH2_X(i__),r_log_MH2_X(i__),log_MHI(i__)
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),TType(i__),Dl(i__),MB_5logh(i__),X(i__),
     +  log_MH2_X(i__),r_log_MH2_X(i__),log_MHI(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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