FORTRAN Generation
(/./ftp/cats/J/ApJ/807/139)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/807/139 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/807/139  Physical parameters of compact SFGs in COSMOS field (Fang+, 2015)
*================================================================================
*Physical properties of compact star-forming galaxies at z~2-3.
*    Fang G., Ma Z., Kong X., Fan L.
*   <Astrophys. J., 807, 139 (2015)>
*   =2015ApJ...807..139F    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Physical Parameters for 59 Compact SFGs in
                                the COSMOS Field

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     ID          ! [01/59] Object identification number
      character*1   n_ID        ! [ab] Note on ID (1)
      real*8        RAdeg       ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*4        z           ! Redshift
      real*4        Deltaz      ! Redshift difference (2)
      real*4        logSFR      ! ([Msun/yr]) Log of star formation rate
      real*4        e_logSFR    ! ([Msun/yr]) Uncertainty in logSFR
      real*4        logM_       ! ([Msun]) Log of stellar mass
      real*4        e_logM_     ! ([Msun]) Uncertainty in logM*
      real*4        Av          ! (mag) Absorption in V-band
      real*4        e_Av        ! (mag) Uncertainty in Av
      real*4        logAge      ! ([yr]) Log of age
      real*4        e_logAge    ! ([yr]) Uncertainty in logAge
      real*4        Reff        ! (kpc) Effective radius
      real*4        e_Reff      ! (kpc) Uncertainty in Reff
      real*4        n           ! Sersic index
      real*4        e_n         ! Uncertainty in n
      real*4        b_a         ! Axis ratio
      real*4        e_b_a       ! Uncertainty in b/a
      real*4        Gini        ! Gini coefficient
      real*4        e_Gini      ! Uncertainty in Gini
      real*4        M20         ! Second-order moment of the brightest 20%
*                                     of the galaxy's flux
      real*4        e_M20       ! Uncertainty in M20
      real*4        U_V         ! (mag) U-V color index (AB)
      real*4        e_U_V       ! (mag) Uncertainty in U-V
      real*4        V_J         ! (mag) V-J color index (AB)
      real*4        e_V_J       ! (mag) Uncertainty in V-J
      real*4        U_B         ! (mag) U-B color index (AB)
      real*4        e_U_B       ! (mag) Uncertainty in U-B
      real*4        Bmag        ! (mag) HST B-band AB magnitude
      real*4        e_Bmag      ! (mag) Uncertainty in Bmag
*Note (1): Note as follows:
*  a = Eight cSFGs with Gini<0.4 and extended visual morphologies;
*  b = cSFG with spectroscopic redshift z_spec_=2.095 in Barro et al.
*      (2014ApJ...795..145B).
*Note (2): {Delta}z=z_3D-HST_-z_UltraVISTA_.

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

C  Loading file 'table1.dat'	! Physical Parameters for 59 Compact SFGs in
*                                the COSMOS Field

C  Format for file interpretation

    1 format(
     +  I2,A1,1X,F10.6,1X,F8.6,1X,F4.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,
     +  F5.2,1X,F4.2,1X,F3.1,1X,F3.1,1X,F3.1,1X,F3.1,1X,F4.2,1X,F4.2,
     +  1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F5.2,1X,
     +  F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F6.2,
     +  1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,59
        read(1,'(A164)')ar__
        read(ar__,1)
     +  ID,n_ID,RAdeg,DEdeg,z,Deltaz,logSFR,e_logSFR,logM_,e_logM_,Av,
     +  e_Av,logAge,e_logAge,Reff,e_Reff,n,e_n,b_a,e_b_a,Gini,e_Gini,
     +  M20,e_M20,U_V,e_U_V,V_J,e_V_J,U_B,e_U_B,Bmag,e_Bmag
c    ..............Just test output...........
        write(6,1)
     +  ID,n_ID,RAdeg,DEdeg,z,Deltaz,logSFR,e_logSFR,logM_,e_logM_,Av,
     +  e_Av,logAge,e_logAge,Reff,e_Reff,n,e_n,b_a,e_b_a,Gini,e_Gini,
     +  M20,e_M20,U_V,e_U_V,V_J,e_V_J,U_B,e_U_B,Bmag,e_Bmag
c    .......End.of.Just test output...........
      end do
      close(1)

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