FORTRAN Generation
(/./ftp/cats/J/ApJ/549/172)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/549/172 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/ApJ/549/172       X-ray-detected, poor groups galaxy populations (Tran+, 2001)
*================================================================================
*The galaxy populations of X-ray-detected, poor groups.
*    Tran K.-V.H., Simard L., Zabludoff A.I., Mulchaey J.S.
*   <Astrophys. J. 549, 172 (2001)>
*   =2001ApJ...549..172T
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Structural Parameters of Field Galaxies Measured
                                 at cz_0_ and cz=9000km/s

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

      character*5   Field      (nr__) ! Field name (1)
      integer*4     Gal        (nr__) ! Galaxy number in the field (1)
      integer*4     cz         (nr__) ! (km/s) Redshift
      integer*4     e_cz       (nr__) ! (km/s) Uncertainty in cz
      real*4        RMag       (nr__) ! (mag) Absolute R band magnitude (2)
      real*4        EW         (nr__) ! (0.1nm) The [O II] (3727{AA}) equivalent width
      real*4        e_EW       (nr__) ! (0.1nm) Uncertainty in EW
      real*4        B_T        (nr__) ! Bulge fraction (3)
      real*4        Rad        (nr__) ! (kpc) Half-light radius (in kpc/h) (4)
      real*4        RatA       (nr__) ! (kpc) Asymmetry parameter (in kpc/h) (5)
      real*4        RatT       (nr__) ! ? Fraction of residual light (6)
      real*4        B_T9       (nr__) ! Bulge fraction at cz=9000
      real*4        Rad9       (nr__) ! (kpc) Half-light radius at cz=9000 (in kpc/h)
      real*4        RatA9      (nr__) ! (kpc) ? Asymmetry parameter at cz=9000 (in kpc/h)
      real*4        RatT9      (nr__) ! ? Fraction of residual light at cz=9000
*Note (1): In Simbad, object are identified as
*      [TSZ2001] HCG NN NNN and [TSZ2001] NGC NNNN NNN
*Note (2): RMag = M_R_ - 5*log(h) where H_0_ = 100 km/s/Mpc, q_0_ = 0.5, and a
*     flat cosmology.
*Note (3): Average error for B/T measurement is ~0.1 (Simard et al. 2001, in
*      prep.), although B/T can change by as much as 0.59 when the original
*     (cz) and degraded (cz=9000km/s) values are compared for the individual
*     galaxies.
*Note (4): Average error for Rad is ~10% (Simard et al. 2001, in prep.).
*Note (5): Average random error for RatA is ~0.02 (Simard et al. 2001, in prep.;
*     Im et al. 2001, ApJ, submitted), although RatA can change by as much
*     as 0.16 when the original (cz) and degraded (cz=9000km/s) values are
*     compared.
*Note (6): Average random error for RatT is ~0.02 (Simard et al. 2001, in prep.;
*     Im et al. 2001, ApJ, submitted), although RatT can change by as much
*     as 0.30 when the original (cz) and degraded (cz=9000km/s) values are
*     compared.

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

C  Declarations for 'table3.dat'	! Structural Parameters of Group Galaxies Measured
                                 at cz_0_ and cz=9000km/s

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

      character*5   Field_1    (nr__1) ! Field name (1)
      integer*4     Gal_1      (nr__1) ! Galaxy number in the field (1)
      integer*4     cz_1       (nr__1) ! (km/s) Redshift
      integer*4     e_cz_1     (nr__1) ! (km/s) Uncertainty in cz
      real*4        RMag_1     (nr__1) ! (mag) Absolute R band magnitude (2)
      real*4        EW_1       (nr__1) ! (0.1nm) The [O II] (3727{AA}) equivalent width
      real*4        e_EW_1     (nr__1) ! (0.1nm) Uncertainty in EW
      real*4        B_T_1      (nr__1) ! Bulge fraction (3)
      real*4        Rad_1      (nr__1) ! (kpc) Half-light radius (in kpc/h) (4)
      real*4        RatA_1     (nr__1) ! (kpc) Asymmetry parameter (in kpc/h) (5)
      real*4        RatT_1     (nr__1) ! ? Fraction of residual light (6)
      real*4        B_T9_1     (nr__1) ! Bulge fraction at cz=9000
      real*4        Rad9_1     (nr__1) ! (kpc) Half-light radius at cz=9000 (in kpc/h)
      real*4        RatA9_1    (nr__1) ! (kpc) ? Asymmetry parameter at cz=9000 (in kpc/h)
      real*4        RatT9_1    (nr__1) ! ? Fraction of residual light at cz=9000
*Note (1): In Simbad, object are identified as
*      [TSZ2001] HCG NN NNN and [TSZ2001] NGC NNNN NNN
*Note (2): RMag = M_R_ - 5*log(h) where H_0_ = 100 km/s/Mpc, q_0_ = 0.5, and a
*     flat cosmology.
*Note (3): Average error for B/T measurement is ~0.1 (Simard et al. 2001, in
*      prep.), although B/T can change by as much as 0.59 when the original
*     (cz) and degraded (cz=9000km/s) values are compared for the individual
*     galaxies.
*Note (4): Average error for Rad is ~10% (Simard et al. 2001, in prep.).
*Note (5): Average random error for RatA is ~0.02 (Simard et al. 2001, in prep.;
*     Im et al. 2001, ApJ, submitted), although RatA can change by as much
*     as 0.16 when the original (cz) and degraded (cz=9000km/s) values are
*     compared.
*Note (6): Average random error for RatT is ~0.02 (Simard et al. 2001, in prep.;
*     Im et al. 2001, ApJ, submitted), although RatT can change by as much
*     as 0.30 when the original (cz) and degraded (cz=9000km/s) values are
*     compared.

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

C  Loading file 'table2.dat'	! Structural Parameters of Field Galaxies Measured
*                                 at cz_0_ and cz=9000km/s

C  Format for file interpretation

    1 format(
     +  A5,1X,I4,1X,I4,1X,I3,1X,F5.1,1X,F4.1,1X,F4.1,1X,F4.2,1X,F4.2,
     +  1X,F5.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,18
        read(1,'(A80)')ar__
        read(ar__,1)
     +  Field(i__),Gal(i__),cz(i__),e_cz(i__),RMag(i__),EW(i__),
     +  e_EW(i__),B_T(i__),Rad(i__),RatA(i__),RatT(i__),B_T9(i__),
     +  Rad9(i__),RatA9(i__),RatT9(i__)
        if(ar__(53:57) .EQ. '') RatT(i__) = rNULL__
        if(ar__(70:74) .EQ. '') RatA9(i__) = rNULL__
        if(ar__(76:80) .EQ. '') RatT9(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Field(i__),Gal(i__),cz(i__),e_cz(i__),RMag(i__),EW(i__),
     +  e_EW(i__),B_T(i__),Rad(i__),RatA(i__),RatT(i__),B_T9(i__),
     +  Rad9(i__),RatA9(i__),RatT9(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Structural Parameters of Group Galaxies Measured
*                                 at cz_0_ and cz=9000km/s

C  Format for file interpretation

    2 format(
     +  A5,1X,I4,1X,I4,1X,I3,1X,F5.1,1X,F4.1,1X,F4.1,1X,F4.2,1X,F4.2,
     +  1X,F5.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,171
        read(1,'(A80)')ar__1
        read(ar__1,2)
     +  Field_1(i__),Gal_1(i__),cz_1(i__),e_cz_1(i__),RMag_1(i__),
     +  EW_1(i__),e_EW_1(i__),B_T_1(i__),Rad_1(i__),RatA_1(i__),
     +  RatT_1(i__),B_T9_1(i__),Rad9_1(i__),RatA9_1(i__),RatT9_1(i__)
        if(ar__1(53:57) .EQ. '') RatT_1(i__) = rNULL__
        if(ar__1(70:74) .EQ. '') RatA9_1(i__) = rNULL__
        if(ar__1(76:80) .EQ. '') RatT9_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Field_1(i__),Gal_1(i__),cz_1(i__),e_cz_1(i__),RMag_1(i__),
     +  EW_1(i__),e_EW_1(i__),B_T_1(i__),Rad_1(i__),RatA_1(i__),
     +  RatT_1(i__),B_T9_1(i__),Rad9_1(i__),RatA9_1(i__),RatT9_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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