FORTRAN Generation
(/./ftp/cats/J/ApJ/835/280)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/835/280 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/835/280   WISE MIR properties of galaxies in compact groups   (Lee+, 2017)
*================================================================================
*The fastest galaxy evolution in an unbiased compact group sample with WISE.
*    Lee G.-H., Hwang H.S., Sohn J., Lee M.G.
*   <Astrophys. J., 835, 280-280 (2017)>
*   =2017ApJ...835..280L    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! SDSS-related physical parameters of compact group
                               galaxies

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

C  J2000 position composed of: RAdeg DEdeg
      character*7   Group       ! Host compact group ID (G1)
      integer*8     Gal         ! SDSS-DR9 galaxy objID
      real*8        RAdeg       ! (deg) Right Ascension of galaxy (J2000)
      real*8        DEdeg       ! (deg) Declination of galaxy (J2000)
      real*8        z           ! [0.01/0.08] Redshift of galaxy
      real*8        e_z         ! [/0.01] Error of redshift of galaxy
      real*4        rMag        ! (mag) [-24.3/-19.7] SDSS r band absolute magnitude (1)
      real*4        e_rMag      ! (mag) [0.01/2.3] Error in rMag
      real*4        u_r         ! (mag) [0.1/16.4] Extinction-corrected SDSS (u-r)
*                                 AB color index (2)
      real*4        e_u_r       ! (mag) [0.01/12] Error of (u-r) color index
      integer*4     M           ! [1/2] Morphology class (1=early-type galaxy;
*                                  2=late-type galaxy)
*Note (1): The k-, and evolution-corrected r-band Petrosian absolute magnitudes.
*Note (2): The SDSS extinction- and k-corrected model magnitudes.

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

C  Declarations for 'table2.dat'	! WISE-related physical parameters of compact group
                               galaxies

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

      character*7   Group_1     ! Host compact group ID (G1)
      integer*8     Gal_1       ! SDSS-DR9 galaxy objID
      real*4        v3_4_12     ! (mag) [-2.6/3]?=-9.99 WISE [3.4]-[12] micron AB
*                                   color index (3)
      real*4        e_3_4_12    ! (mag) [0/0.4] Error in 3.4-12 (4)
      real*4        SNR12       ! [-3/83]?=-9.9 Signal-to-noise ratio
*                                   in WISE 12um band (4)
      real*4        logL12      ! ([Lsun]) [7.4/11]?=-9.99 Log WISE 12um band luminosity
      real*4        e_logL12    ! ([Lsun]) [0/0.2] Error in logL12 (4)
      integer*4     AGN         ! [0/3] AGN class (0=non-AGN) (5)
      real*4        v3_4Mag     ! (mag) [-26.3/-20.7]?=-9.99 WISE 3.4um band absolute
*                                   magnitude
      real*4        e_3_4Mag    ! (mag) [0.02/0.3]?=0 Error in 3.4Mag
      real*4        logMass     ! ([Msun]) [8/15]?=0 Log stellar mass (6)
      real*4        e_logMass   ! ([Msun]) [0.03/0.3]?=0 Lower error of Log stellar mass
      real*4        E_logMass_1 ! ([Msun]) [0.02/0.5]?=0 Upper error of Log stellar mass
*Note (3): The ALLWISE profile-fitting AB magnitudes.
*Note (4): When (S/N)_12_<=3, we assign zero errors to [3.4]-[12] and
*          log(L_12_/L_{sun}_).
*Note (5): AGN classification (0: non-AGN, 1: optical AGN, 2: MIR AGN, and
*          3: optical+MIR AGN)
*Note (6): Stellar masses calculated using H_0_=70km/s/Mpc.

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

C  Declarations for 'table3.dat'	! Environmental parameters of compact groups

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

C  J2000 position composed of: RAdeg DEdeg
      character*7   Group_2     ! Compact Group ID (G1)
      real*8        RAdeg_1     ! (deg) Right Ascension of compact group (J2000) (1)
      real*8        DEdeg_1     ! (deg) Declination of compact group (J2000) (1)
      real*4        z_1         ! [0.01/0.08] Redshift of compact group (1)
      real*4        e_z_1       ! [0.0001/0.002] Error in z (1)
      integer*4     Nmm         ! [3/8] Number of member galaxies in each
*                                compact group
      integer*4     Nn          ! [0/63]?=-99 Number of neighboring galaxies
*                                in the comoving cylinder (2)
      real*4        ETf         ! [0/1] Fraction of early-type member galaxies (3)
      integer*4     sigma       ! (km/s) [2/879] Velocity dispersion of compact group (4)
      integer*4     e_sigma     ! (km/s) 1{sigma} error in sigma (4)
*Note (1): From table 5 of Sohn+, 2016, J/ApJS/225/23
*Note (2): The number of neighboring galaxies (M_r<-19.77) in the comoving
*          cylinder. For 59 compact groups near the lower and upper redshift
*          limits, Nn are not assigned.
*Note (3): The fraction of early-type galaxies among member galaxies of a
*          compact group.
*Note (4): The rest-frame line-of-sight velocity dispersion of galaxies in
*          each compact group and the 1sigma error derived from 1000-times
*          bootstrap resamplings, from Table 5 of Sohn+ (2016, J/ApJS/225/23).

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

C  Loading file 'table1.dat'	! SDSS-related physical parameters of compact group
*                               galaxies

C  Format for file interpretation

    1 format(
     +  A7,1X,I19,1X,F10.6,1X,F10.6,1X,F8.6,1X,F8.6,1X,F6.2,1X,F4.2,
     +  1X,F5.2,1X,F5.2,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,2175
        read(1,'(A93)')ar__
        read(ar__,1)
     +  Group,Gal,RAdeg,DEdeg,z,e_z,rMag,e_rMag,u_r,e_u_r,M
c    ..............Just test output...........
        write(6,1)
     +  Group,Gal,RAdeg,DEdeg,z,e_z,rMag,e_rMag,u_r,e_u_r,M
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! WISE-related physical parameters of compact group
*                               galaxies

C  Format for file interpretation

    2 format(
     +  A7,1X,I19,1X,F5.2,1X,F4.2,1X,F4.1,1X,F5.2,1X,F4.2,1X,I1,1X,
     +  F6.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,2175
        read(1,'(A84)')ar__1
        read(ar__1,2)
     +  Group_1,Gal_1,v3_4_12,e_3_4_12,SNR12,logL12,e_logL12,AGN,
     +  v3_4Mag,e_3_4Mag,logMass,e_logMass,E_logMass_1
c    ..............Just test output...........
        write(6,2)
     +  Group_1,Gal_1,v3_4_12,e_3_4_12,SNR12,logL12,e_logL12,AGN,
     +  v3_4Mag,e_3_4Mag,logMass,e_logMass,E_logMass_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Environmental parameters of compact groups

C  Format for file interpretation

    3 format(
     +  A7,1X,F10.6,1X,F10.6,1X,F6.4,1X,F6.4,1X,I1,1X,I3,1X,F4.2,1X,
     +  I3,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,670
        read(1,'(A62)')ar__2
        read(ar__2,3)
     +  Group_2,RAdeg_1,DEdeg_1,z_1,e_z_1,Nmm,Nn,ETf,sigma,e_sigma
c    ..............Just test output...........
        write(6,3)
     +  Group_2,RAdeg_1,DEdeg_1,z_1,e_z_1,Nmm,Nn,ETf,sigma,e_sigma
c    .......End.of.Just test output...........
      end do
      close(1)

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