FORTRAN Generation
(/./ftp/cats/J/ApJ/834/101)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/834/101 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-20
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/834/101    Keck/MOSFIRE spectroscopy of ZFOURGE galaxies    (Tran+, 2017)
*================================================================================
*ZFIRE: similar stellar growth in H{alpha}-emitting cluster and
*field galaxies at z~2.
*    Tran K.-V.H., Alcorn L.Y., Kacprzak G.G., Nanayakkara T., Straatman C.,
*    Yuan T., Cowley M., Dave R., Glazebrook K., Kewley L.J., Labbe I.,
*    Martizzi D., Papovich C., Quadri R., Spitler L.R., Tomczak A.
*   <Astrophys. J., 834, 101-101 (2017)>
*   =2017ApJ...834..101T    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Galaxy properties

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     ZFIRE       ! [237/9922] ZFIRE source identifier (1)
      integer*4     ZFOURGE     ! [912/14346] ZFOURGE source identifier (1)
      real*8        RAdeg       ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*4        zsp         ! [1.9/2.4] Spectroscopic redshift
      real*4        FHa         ! (10-20W/m2) [0.4/11.2] Observed H{alpha} flux,
*                                      10-17erg/s/cm2
      real*4        e_FHa       ! (10-20W/m2) [0.05/0.3] Uncertainty in FHa
      real*4        LIR         ! ([Lsun]) [8.7/12.3]? Log of IR luminosity (2)
      real*4        Mstar       ! ([Msun]) [8.9/11] Log of stellar mass
      real*4        Av          ! (mag) [0/1.6] Extinction
      real*4        t           ! ([Gyr]) [7.9/9.4] Log of stellar age (3)
      real*4        SFR         ! (Msun/yr) [1/84] H{alpha} based star formation
*                                      rate (4)
      real*4        n           ! [0.3/8]? Sersic index
      real*4        Reff        ! (arcsec) [0.1/0.9]? Effective radius
      integer*4     Pflag       ! [-99/2]? Quality of profile fit
*                                      (0=good fit) (5)
*Note (1): Galaxy identification numbers from ZFIRE (Nanayakkara+
*   2016, J/ApJ/828/21) and ZFOURGE (Straatman+ 2016, J/ApJ/830/51).
*   We include only galaxies with spectroscopic redshift quality flag of
*   Q_z=3 (Nanayakkara+ 2016, J/ApJ/828/21) and 1.9<zsp<2.4.
*   Cluster members (37 galaxies) have 2.08<zsp<2.12 (Yuan+ 2014ApJ...795L..20Y).
*Note (2): In our analysis of IR-luminous vs. low-IR systems, we select
*   IR-luminous galaxies using log(LIR/Lsun)>11.3.
*Note (3): Stellar age in units of Gyr and based on SED fitting with FAST
*   (Kriek et al., 2009ApJ...700..221K).
*Note (4): H{alpha} star formation rates in units of Msun/yr and based on
*   dust-corrected H{alpha} fluxes (Eq. 2; see Section 2.4).
*Note (5): Quality of profile fit used to measure the Sersic index, n, and
*   the effective radius, Reff as follows:
*    -99 = not fit;
*      0 = good fit;
*      1 = fair fit;
*      2 = questionable fit.

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

C  Loading file 'table1.dat'	! Galaxy properties

C  Format for file interpretation

    1 format(
     +  I4,1X,I5,1X,F9.5,1X,F7.5,1X,F6.4,1X,F5.2,1X,F4.2,1X,F5.2,1X,
     +  F5.2,1X,F3.1,1X,F3.1,1X,F4.1,1X,F3.1,1X,F3.1,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,90
        read(1,'(A83)')ar__
        read(ar__,1)
     +  ZFIRE,ZFOURGE,RAdeg,DEdeg,zsp,FHa,e_FHa,LIR,Mstar,Av,t,SFR,n,
     +  Reff,Pflag
        if(ar__(48:52) .EQ. '') LIR = rNULL__
        if(ar__(73:75) .EQ. '') n = rNULL__
        if(ar__(77:79) .EQ. '') Reff = rNULL__
        if(ar__(81:83) .EQ. '') Pflag = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  ZFIRE,ZFOURGE,RAdeg,DEdeg,zsp,FHa,e_FHa,LIR,Mstar,Av,t,SFR,n,
     +  Reff,Pflag
c    .......End.of.Just test output...........
      end do
      close(1)

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