FORTRAN Generation
(/./ftp/cats/J/ApJ/680/1072)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/680/1072 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-17
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/680/1072    Ly{alpha}-emitting galaxies at 0.2<z<0.35   (Deharveng+, 2008)
*================================================================================
*Ly{alpha}-emitting galaxies at 0.2<z<0.35 from GALEX spectroscopy.
*    Deharveng J.-M., Small T., Barlow T.A., Peroux C., Milliard B.,
*    Friedman P.G., Martin D.C., Morrissey P., Schiminovich D., Forster K.,
*    Seibert M., Wyder T.K., Bianchi L., Donas J., Heckman T.M., Lee Y.-W.,
*    Madore B.F., Neff S.G., Rich R.M., Szalay A.S., Welsh B.Y., Yi S.K.
*   <Astrophys. J., 680, 1072-1082 (2008)>
*   =2008ApJ...680.1072D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! The Ly{alpha}-emitting galaxy candidates

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

C  J2000 position composed of: RAdeg DEdeg
      character*8   Field       ! Field name
      integer*4     v_DSB2008_  ! Sequential number
      real*8        RAdeg       ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*4        EWLya       ! (0.1nm) Ly{alpha} equivalent width
      integer*4     q_EWLya     ! Quality flag (1=good; 2=fair; 3=uncertain)
      real*4        FLya        ! (aW/m2) Ly{alpha} flux (10^-15^erg/s/cm^2^)
      real*4        FUV         ! (mag) GALEX FUV magnitude (in AB system)
      real*4        F_NUV       ! (mag) GALEX FUV-NUV colour index
      real*4        z           ! Redshift assuming that the emission feature
*                                   is Ly{alpha}
      real*4        logLLya     ! ([10-7W]) Ly{alpha} luminosity
      real*8        zl          ! ? Literature redshift
      integer*4     r_zl        ! ? Reference for zl (2)
*Note (2): References as follows:
*      1 = 2dF, http://www.mso.anu.edu.au/2dFGRS/, Cat. <VII/250>
*      2 = COMBO-17, Wolf et al. 2004, Cat. <II/253>
*      3 = Vanzella et al. 2006, Cat. <J/A+A/454/423>
*      4 = SARS, Way et al. 2005, Cat. <J/AJ/130/2012>
*      5 = LCRS, Shectman et al. 1996, Cat. <VII/203>
*      6 = SDSS, http://www.sdss.org
*      7 = DEEP1 Groth Strip, Weiner et al., 2005ApJ...620..595W
*      8 = DEEP2 Data Release 3, Davis et al., 2007ApJ...660L...1D

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

C  Loading file 'table2.dat'	! The Ly{alpha}-emitting galaxy candidates

C  Format for file interpretation

    1 format(
     +  A8,I5,1X,F8.4,1X,F8.4,1X,F5.1,1X,I1,1X,F5.2,1X,F5.2,1X,F6.3,
     +  1X,F5.3,1X,F5.2,1X,F7.5,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,96
        read(1,'(A80)')ar__
        read(ar__,1)
     +  Field,v_DSB2008_,RAdeg,DEdeg,EWLya,q_EWLya,FLya,FUV,F_NUV,z,
     +  logLLya,zl,r_zl
        if(ar__(72:78) .EQ. '') zl = rNULL__
        if(ar__(80:80) .EQ. '') r_zl = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Field,v_DSB2008_,RAdeg,DEdeg,EWLya,q_EWLya,FLya,FUV,F_NUV,z,
     +  logLLya,zl,r_zl
c    .......End.of.Just test output...........
      end do
      close(1)

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