FORTRAN Generation
(/./ftp/cats/J/MNRAS/472/4878)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/472/4878 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 2026-Sep-12
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/MNRAS/472/4878    Number counts predictions for surveys    (Valentino+, 2017)
*================================================================================
*Predicting emission line fluxes and number counts of distant galaxies for
*cosmological surveys.
*    Valentino F., Daddi E., Silverman J.D., Puglisi A., Kashino D., Renzini A.,
*    Cimatti A., Pozzetti L., Rodighiero G., Pannella M., Gobat R., Zamorani G.
*   <Mon. Not. R. Astron. Soc., 472, 4878-4899 (2017)>
*   =2017MNRAS.472.4878V    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'cosmos.dat'	! Photometric parameters and line flux predictions
                                 for 31193 galaxies in COSMOS at 1.4<z<1.8

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

C  J2000.0 position composed of: RAdeg DEdeg
      integer*4     ID         (nr__) ! Galaxy identification number (1)
      real*8        RAdeg      (nr__) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg      (nr__) ! (deg) Declination (J2000.0)
      real*4        logM       (nr__) ! ([Msun]) Logarithmic stellar mass (2)
      real*4        logSFR     (nr__) ! ([Msun/yr]) Logarithmic star formation rate
      real*4        zph        (nr__) ! Photometric redshift
      real*4        AV         (nr__) ! (mag) V-band stellar extinction
      real*4        FHa        (nr__) ! (10-19W/m2) Predicted flux for H{alpha} (G1)
      real*4        F_OII_     (nr__) ! (10-19W/m2) Predicted flux for [OII] (G1)
      real*4        F_OIII_    (nr__) ! (10-19W/m2) Predicted flux for [OIII] (G1)
      real*4        FHb        (nr__) ! (10-19W/m2) Predicted flux for H{beta} (G1)
      real*4        fabs       (nr__) ! H{beta} Balmer absorption factor
*Note (1): The galaxy identification number is from Laigle et al., 2016,
*  Cat. J/ApJS/224/24 .
*Note (2): The logarithmic stellar mass is from Laigle et al., 2016,
*  Cat. J/ApJS/224/24, converted to a Salpeter (1955ApJ...121..161S)
*  Initial Mass Function adding 0.23dex.

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

C  Declarations for 'goodss.dat'	! Photometric parameters and line flux predictions
                                 for 3858 galaxies in GOODS-S at 1.4<z<1.8

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

C  J2000.0 position composed of: RAdeg DEdeg
      integer*4     ID_1       (nr__1) ! Galaxy identification number
      real*8        RAdeg_1    (nr__1) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg_1    (nr__1) ! (deg) Declination (J2000.0)
      real*4        logM_1     (nr__1) ! ([Msun]) Logarithmic stellar mass (1)
      real*4        logSFR_1   (nr__1) ! ([Msun/yr]) Logarithmic star formation rate
      real*4        zphot      (nr__1) ! Photometric redshift
      real*4        AV_1       (nr__1) ! (mag) V-band stellar extinction
      real*4        FHa_1      (nr__1) ! (10-19W/m2) Predicted flux for H{alpha} (G1)
      real*4        F_OII__1   (nr__1) ! (10-19W/m2) Predicted flux for [OII] (G1)
      real*4        F_OIII__1  (nr__1) ! (10-19W/m2) Predicted flux for [OIII] (G1)
      real*4        FHb_1      (nr__1) ! (10-19W/m2) Predicted flux for H{beta} (G1)
      real*4        fabs_1     (nr__1) ! H{beta} Balmer absorption factor
*Note (1): Salpeter (1955ApJ...121..161S) Initial Mass Function.

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

C  Declarations for 'table1.dat'	! H{alpha} number counts from COSMOS and GOODS-S
                                 photometric samples
                                 GOODS-S photometric samples at 1.4<z<1.8

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

      real*4        Flux       (nr__2) ! (10-19W/m2) Limiting flux (G1)
      integer*4     COSct1_4z1_8(nr__2) ! (deg-2) Average counts at 1.4<z<1.8
*                                       for the COSMOS sample (COS_aver_1.4z1.8)
      integer*4     COSco1_4z1_8(nr__2) ! (deg-2) Convolution error on counts at 1.4<z<1.8
*                                       for the COSMOS sample (COS_conv_1.4z1.8)
      integer*4     COSpo1_4z1_8(nr__2) ! (deg-2) Poissonian error on counts at 1.4<z<1.8
*                                       for the COSMOS sample (COS_pois_1.4z1.8)
      integer*4     COSmc1_4z1_8(nr__2) ! (deg-2) Monte Carlo error on counts at 1.4<z<1.8
*                                       for the COSMOS sample (COS_mc_1.4z1.8)
      integer*4     COSct0_9z1_8(nr__2) ! (deg-2) Average counts at 0.9<z<1.8
*                                       for the COSMOS sample (COS_aver_0.9z1.8)
      integer*4     COSco0_9z1_8(nr__2) ! (deg-2) Convolution error on counts at 0.9<z<1.8
*                                       for the COSMOS sample (COS_conv_0.9z1.8)
      integer*4     COSpo0_9z1_8(nr__2) ! (deg-2) Poissonian error on counts at 0.9<z<1.8
*                                       for the COSMOS sample (COS_pois_0.9z1.8)
      integer*4     COSmc0_9z1_8(nr__2) ! (deg-2) Monte Carlo error on counts at 0.9<z<1.8
*                                       for the COSMOS sample (COS_mc_0.9z1.8)
      integer*4     GOOct1_4z1_8(nr__2) ! (deg-2) Average counts at 1.4<z<1.8
*                                       for the GOODS-S sample (GOO_aver_1.4z1.8)
      integer*4     GOOco1_4z1_8(nr__2) ! (deg-2) Convolution error on counts at 1.4<z<1.8
*                                       for the GOODS-S sample (GOO_conv_1.4z1.8)
      integer*4     GOOpo1_4z1_8(nr__2) ! (deg-2) Poissonian error on counts at 1.4<z<1.8
*                                       for the GOODS-S sample (GOO_pois_1.4z1.8)
      integer*4     GOOmc1_4z1_8(nr__2) ! (deg-2) Monte Carlo error on counts at 1.4<z<1.8
*                                       for the GOODS-S sample (GOO_mc_1.4z1.8)
      integer*4     GOOct0_9z1_8(nr__2) ! (deg-2) Average counts at 0.9<z<1.8
*                                       for the GOODS-S sample (GOO_aver_0.9z1.8)
      integer*4     GOOco0_9z1_8(nr__2) ! (deg-2) Convolution error on counts at 0.9<z<1.8
*                                       for the GOODS-S sample (GOO_conv_0.9z1.8)
      integer*4     GOOpo0_9z1_8(nr__2) ! (deg-2) Poissonian error on counts at 0.9<z<1.8
*                                       for the GOODS-S sample (GOO_pois_0.9z1.8)
      integer*4     GOOmc0_9z1_8(nr__2) ! (deg-2) Monte Carlo error on counts at 0.9<z<1.8
*                                       for the GOODS-S sample (GOO_mc_0.9z1.8)

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

C  Declarations for 'table2.dat'	! [OII] and [OIII] number counts from COSMOS and

      integer*4 nr__3
      parameter (nr__3=9)	! Number of records
      character*134 ar__3  	! Full-size record

      real*4        Flux_1     (nr__3) ! (10-19W/m2) Limiting flux (G1)
      integer*4     COSctOII   (nr__3) ! (deg-2) Average [OII] counts at 1.4<z<1.8
*                                    for the COSMOS sample (COS_aver_oii)
      integer*4     COScoOII   (nr__3) ! (deg-2) Convolution error on [OII] counts at
*                                    1.4<z<1.8 for the COSMOS sample
*                                    (COS_conv_oii)
      integer*4     COSpoOII   (nr__3) ! (deg-2) Poissonian error on [OII] counts at 1.4<z<1.8
*                                    for the COSMOS sample (COS_pois_oii)
      integer*4     COSmcOII   (nr__3) ! (deg-2) Monte Carlo error on [OII] counts at
*                                    1.4<z<1.8 for the COSMOS sample (COS_mc_oii)
      integer*4     COSctOIII  (nr__3) ! (deg-2) Average [OIII] counts at 1.4<z<1.8
*                                    for the COSMOS sample (COS_aver_oiii)
      integer*4     COScoOIII  (nr__3) ! (deg-2) Convolution error on [OIII] counts
*                                    at 1.4<z<1.8 for the COSMOS sample
*                                    (COS_conv_oiii)
      integer*4     COSpoOIII  (nr__3) ! (deg-2) Poissonian error on [OIII] counts at
*                                    1.4<z<1.8 for the COSMOS sample
*                                    (COS_pois_oiii)
      integer*4     COSmcOIII  (nr__3) ! (deg-2) Monte Carlo error on [OIII] counts at
*                                    1.4<z<1.8 for the COSMOS sample
*                                    (COS_mc_oiii)
      integer*4     GOOctOII   (nr__3) ! (deg-2) Average [OII] counts at 1.4<z<1.8
*                                    for the GOODS-S sample (GOO_aver_oii)
      integer*4     GOOcoOII   (nr__3) ! (deg-2) Convolution error on [OII] counts at
*                                    1.4<z<1.8 for the GOODS-S sample
*                                    (GOO_conv_oii)
      integer*4     GOOpoOII   (nr__3) ! (deg-2) Poissonian error on [OII] counts at 1.4<z<1.8
*                                    for the GOODS-S sample (GOO_pois_oii)
      integer*4     GOOmcOII   (nr__3) ! (deg-2) Monte Carlo error on [OII] counts at
*                                    1.4<z<1.8 for the GOODS-S sample
*                                    (GOO_mc_oii)
      integer*4     GOOctOIII  (nr__3) ! (deg-2) Average [OIII] counts at 1.4<z<1.8
*                                    for the GOODS-S sample (GOO_aver_oiii)
      integer*4     GOOcoOIII  (nr__3) ! (deg-2) Convolution error on [OIII] counts at
*                                    1.4<z<1.8 for the GOODS-S sample
*                                    (GOO_conv_oiii)
      integer*4     GOOpoOIII  (nr__3) ! (deg-2) Poissonian error on [OIII] counts at
*                                    1.4<z<1.8 for the GOODS-S sample
*                                    (GOO_pois_oiii)
      integer*4     GOOmcOIII  (nr__3) ! (deg-2) Monte Carlo error on [OIII] counts at
*                                    1.4<z<1.8 for the GOODS-S sample
*                                    (GOO_mc_oiii)

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

C  Declarations for 'table3.dat'	! H{alpha}+[NII] number counts from COSMOS and
                                 GOODS-S photometric samples

      integer*4 nr__4
      parameter (nr__4=14)	! Number of records
      character*101 ar__4  	! Full-size record

      real*4        Flux_2     (nr__4) ! (10-19W/m2) Limiting flux (G1)
      integer*4     COSct1_4z1_8_1(nr__4) ! (deg-2) Average counts at 1.4<z<1.8
*                                       for the COSMOS sample (COS_aver_1.4z1.8)
      integer*4     COSco1_4z1_8_1(nr__4) ! (deg-2) Convolution error on counts at 1.4<z<1.8
*                                       for the COSMOS sample (COSco1.4z1.8)
      integer*4     COSpo1_4z1_8_1(nr__4) ! (deg-2) Poissonian error on counts at 1.4<z<1.8
*                                       for the COSMOS sample (COSpo1.4z1.8)
      integer*4     COSct0_9z1_8_1(nr__4) ! (deg-2) Average counts at 0.9<z<1.8
*                                       for the COSMOS sample (COS_aver_0.9z1.8)
      integer*4     COSco0_9z1_8_1(nr__4) ! (deg-2) Convolution error on counts at 0.9<z<1.8
*                                       for the COSMOS sample (COSco0.9z1.8)
      integer*4     COSpo0_9z1_8_1(nr__4) ! (deg-2) Poissonian error on counts at 0.9<z<1.8
*                                       for the COSMOS sample (COSpo0.9z1.8)
      integer*4     GOOct1_4z1_8_1(nr__4) ! (deg-2) Average counts at 1.4<z<1.8
*                                       for the GOODS-S sample (GOO_aver_1.4z1.8)
      integer*4     GOOco1_4z1_8_1(nr__4) ! (deg-2) Convolution error on counts at 1.4<z<1.8
*                                       for the GOODS-S sample (GOOco1.4z1.8)
      integer*4     GOOpo1_4z1_8_1(nr__4) ! (deg-2) Poissonian error on counts at 1.4<z<1.8
*                                       for the GOODS-S sample (GOOpo1.4z1.8)
      integer*4     GOOct0_9z1_8_1(nr__4) ! (deg-2) Average counts at 0.9<z<1.8
*                                       for the GOODS-S sample (GOO_aver_0.9z1.8)
      integer*4     GOOco0_9z1_8_1(nr__4) ! (deg-2) Convolution error on counts at 0.9<z<1.8
*                                       for the GOODS-S sample (GOOco0.9z1.8)
      integer*4     GOOpo0_9z1_8_1(nr__4) ! (deg-2) Poissonian error on counts at 0.9<z<1.8
*                                       for the GOODS-S sample (GOOpo0.9z1.8)

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

C  Declarations for 'table4.dat'	! H{alpha}, [OII], and [OIII] number counts for
                                 starbursting galaxies from the GOODS-S
                                 photometric samples at 1.4<z<1.8 and 0.9<z<1.8

      integer*4 nr__5
      parameter (nr__5=14)	! Number of records
      character*92 ar__5  	! Full-size record

      real*4        Flux_3     (nr__5) ! (10-19W/m2) Limiting flux (G1)
      integer*4     SBct1_4z1_8ha(nr__5) ! (deg-2) Average H{alpha} counts at 1.4<z<1.8
*                                          for the GOODS-S sample
*                                          (SB_aver_1.4z1.8_ha)
      integer*4     SBco1_4z1_8ha(nr__5) ! (deg-2) Convolution error on H{alpha} counts at
*                                          1.4<z<1.8 for the GOODS-S sample
*                                          (SB_conv_1.4z1.8_ha)
      integer*4     SBpo1_4z1_8ha(nr__5) ! (deg-2) Poissonian error H{alpha} counts at
*                                          1.4<z<1.8 for the GOODS-S sample
*                                          (SB_pois_1.4z1.8_ha)
      integer*4     SBct1_4z1_8OII(nr__5) ! (deg-2) Average [OII] counts at 1.4<z<1.8
*                                          for the GOODS-S sample
*                                          (SB_aver_1.4z1.8_oii)
      integer*4     SBco1_4z1_8OII(nr__5) ! (deg-2) Convolution error on [OII] counts at
*                                          1.4<z<1.8 for the GOODS-S sample
*                                          (SB_conv_1.4z1.8_oii)
      integer*4     SBpo1_4z1_8OII(nr__5) ! (deg-2) Poissonian error on [OII] counts at
*                                          1.4<z<1.8 for the GOODS-S sample
*                                          (SB_pois_1.4z1.8_oii)
      integer*4     SBct1_4z1_8OIII(nr__5) ! (deg-2) Average [OIII] counts at 1.4<z<1.8 for
*                                          the GOODS-S sample
*                                          (SB_aver_1.4z1.8_oiii)
      integer*4     SBco1_4z1_8OIII(nr__5) ! (deg-2) Convolution error on [OIII] counts at
*                                          1.4<z<1.8 for the GOODS-S sample
*                                          (SB_conv_1.4z1.8_oiii)
      integer*4     SBpo1_4z1_8OIII(nr__5) ! (deg-2) Poissonian error on [OIII] counts at
*                                          1.4<z<1.8 for the GOODS-S sample
*                                          (SB_pois_1.4z1.8_oiii)
      integer*4     SBct0_9z1_8ha(nr__5) ! (deg-2) Average Ha counts at 0.9<z<1.8 for the
*                                          GOODS-S sample (SB_aver_0.9z1.8_ha)
      integer*4     SBco0_9z1_8ha(nr__5) ! (deg-2) Convolution error on Ha counts at
*                                          0.9<z<1.8 for the GOODS-S sample
*                                          (SB_conv_0.9z1.8_ha)
      integer*4     SBpo0_9z1_8ha(nr__5) ! (deg-2) Poissonian error on Ha counts at
*                                          0.9<z<1.8 for the GOODS-S sample
*                                          (SB_pois_0.9z1.8_ha)

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

C  Loading file 'cosmos.dat'	! Photometric parameters and line flux predictions
*                                 for 31193 galaxies in COSMOS at 1.4<z<1.8

C  Format for file interpretation

    1 format(
     +  I6,3X,F12.8,5X,F10.8,10X,F5.2,9X,F6.2,11X,F4.2,10X,F5.2,11X,
     +  F4.2,11X,F4.2,11X,F4.2,11X,F4.2,11X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'cosmos.dat')
      write(6,*) '....Loading file: cosmos.dat'
      do i__=1,31193
        read(1,'(A171)')ar__
        read(ar__,1)
     +  ID(i__),RAdeg(i__),DEdeg(i__),logM(i__),logSFR(i__),zph(i__),
     +  AV(i__),FHa(i__),F_OII_(i__),F_OIII_(i__),FHb(i__),fabs(i__)
c    ..............Just test output...........
        write(6,1)
     +  ID(i__),RAdeg(i__),DEdeg(i__),logM(i__),logSFR(i__),zph(i__),
     +  AV(i__),FHa(i__),F_OII_(i__),F_OIII_(i__),FHb(i__),fabs(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'goodss.dat'	! Photometric parameters and line flux predictions
*                                 for 3858 galaxies in GOODS-S at 1.4<z<1.8

C  Format for file interpretation

    2 format(
     +  I4,1X,F11.8,2X,F12.8,5X,F5.2,5X,F5.2,6X,F4.2,6X,F4.2,6X,F4.2,
     +  6X,F4.2,6X,F4.2,6X,F4.2,6X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'goodss.dat')
      write(6,*) '....Loading file: goodss.dat'
      do i__=1,3858
        read(1,'(A120)')ar__1
        read(ar__1,2)
     +  ID_1(i__),RAdeg_1(i__),DEdeg_1(i__),logM_1(i__),logSFR_1(i__),
     +  zphot(i__),AV_1(i__),FHa_1(i__),F_OII__1(i__),F_OIII__1(i__),
     +  FHb_1(i__),fabs_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  ID_1(i__),RAdeg_1(i__),DEdeg_1(i__),logM_1(i__),logSFR_1(i__),
     +  zphot(i__),AV_1(i__),FHa_1(i__),F_OII__1(i__),F_OIII__1(i__),
     +  FHb_1(i__),fabs_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table1.dat'	! H{alpha} number counts from COSMOS and GOODS-S
*                                 photometric samples
*                                 GOODS-S photometric samples at 1.4<z<1.8

C  Format for file interpretation

    3 format(
     +  F4.2,4X,I4,4X,I4,4X,I4,4X,I4,4X,I5,4X,I4,4X,I4,4X,I4,4X,I5,4X,
     +  I3,4X,I4,4X,I4,4X,I5,4X,I3,4X,I4,4X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,14
        read(1,'(A133)')ar__2
        read(ar__2,3)
     +  Flux(i__),COSct1_4z1_8(i__),COSco1_4z1_8(i__),
     +  COSpo1_4z1_8(i__),COSmc1_4z1_8(i__),COSct0_9z1_8(i__),
     +  COSco0_9z1_8(i__),COSpo0_9z1_8(i__),COSmc0_9z1_8(i__),
     +  GOOct1_4z1_8(i__),GOOco1_4z1_8(i__),GOOpo1_4z1_8(i__),
     +  GOOmc1_4z1_8(i__),GOOct0_9z1_8(i__),GOOco0_9z1_8(i__),
     +  GOOpo0_9z1_8(i__),GOOmc0_9z1_8(i__)
c    ..............Just test output...........
        write(6,3)
     +  Flux(i__),COSct1_4z1_8(i__),COSco1_4z1_8(i__),
     +  COSpo1_4z1_8(i__),COSmc1_4z1_8(i__),COSct0_9z1_8(i__),
     +  COSco0_9z1_8(i__),COSpo0_9z1_8(i__),COSmc0_9z1_8(i__),
     +  GOOct1_4z1_8(i__),GOOco1_4z1_8(i__),GOOpo1_4z1_8(i__),
     +  GOOmc1_4z1_8(i__),GOOct0_9z1_8(i__),GOOco0_9z1_8(i__),
     +  GOOpo0_9z1_8(i__),GOOmc0_9z1_8(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! [OII] and [OIII] number counts from COSMOS and

C  Format for file interpretation

    4 format(
     +  F4.2,4X,I4,4X,I4,4X,I4,4X,I4,4X,I4,4X,I4,4X,I4,4X,I4,4X,I5,4X,
     +  I4,4X,I4,4X,I4,4X,I5,4X,I4,4X,I4,4X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,9
        read(1,'(A134)')ar__3
        read(ar__3,4)
     +  Flux_1(i__),COSctOII(i__),COScoOII(i__),COSpoOII(i__),
     +  COSmcOII(i__),COSctOIII(i__),COScoOIII(i__),COSpoOIII(i__),
     +  COSmcOIII(i__),GOOctOII(i__),GOOcoOII(i__),GOOpoOII(i__),
     +  GOOmcOII(i__),GOOctOIII(i__),GOOcoOIII(i__),GOOpoOIII(i__),
     +  GOOmcOIII(i__)
c    ..............Just test output...........
        write(6,4)
     +  Flux_1(i__),COSctOII(i__),COScoOII(i__),COSpoOII(i__),
     +  COSmcOII(i__),COSctOIII(i__),COScoOIII(i__),COSpoOIII(i__),
     +  COSmcOIII(i__),GOOctOII(i__),GOOcoOII(i__),GOOpoOII(i__),
     +  GOOmcOII(i__),GOOctOIII(i__),GOOcoOIII(i__),GOOpoOIII(i__),
     +  GOOmcOIII(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! H{alpha}+[NII] number counts from COSMOS and
*                                 GOODS-S photometric samples

C  Format for file interpretation

    5 format(
     +  F4.2,4X,I5,4X,I4,4X,I4,4X,I5,4X,I4,4X,I4,4X,I5,4X,I3,4X,I3,4X,
     +  I5,4X,I3,4X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,14
        read(1,'(A101)')ar__4
        read(ar__4,5)
     +  Flux_2(i__),COSct1_4z1_8_1(i__),COSco1_4z1_8_1(i__),
     +  COSpo1_4z1_8_1(i__),COSct0_9z1_8_1(i__),COSco0_9z1_8_1(i__),
     +  COSpo0_9z1_8_1(i__),GOOct1_4z1_8_1(i__),GOOco1_4z1_8_1(i__),
     +  GOOpo1_4z1_8_1(i__),GOOct0_9z1_8_1(i__),GOOco0_9z1_8_1(i__),
     +  GOOpo0_9z1_8_1(i__)
c    ..............Just test output...........
        write(6,5)
     +  Flux_2(i__),COSct1_4z1_8_1(i__),COSco1_4z1_8_1(i__),
     +  COSpo1_4z1_8_1(i__),COSct0_9z1_8_1(i__),COSco0_9z1_8_1(i__),
     +  COSpo0_9z1_8_1(i__),GOOct1_4z1_8_1(i__),GOOco1_4z1_8_1(i__),
     +  GOOpo1_4z1_8_1(i__),GOOct0_9z1_8_1(i__),GOOco0_9z1_8_1(i__),
     +  GOOpo0_9z1_8_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! H{alpha}, [OII], and [OIII] number counts for
*                                 starbursting galaxies from the GOODS-S
*                                 photometric samples at 1.4<z<1.8 and 0.9<z<1.8

C  Format for file interpretation

    6 format(
     +  F4.2,4X,I4,4X,I2,4X,I2,4X,I4,4X,I4,4X,I4,4X,I4,4X,I4,4X,I4,4X,
     +  I4,4X,I2,4X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,14
        read(1,'(A92)')ar__5
        read(ar__5,6)
     +  Flux_3(i__),SBct1_4z1_8ha(i__),SBco1_4z1_8ha(i__),
     +  SBpo1_4z1_8ha(i__),SBct1_4z1_8OII(i__),SBco1_4z1_8OII(i__),
     +  SBpo1_4z1_8OII(i__),SBct1_4z1_8OIII(i__),SBco1_4z1_8OIII(i__),
     +  SBpo1_4z1_8OIII(i__),SBct0_9z1_8ha(i__),SBco0_9z1_8ha(i__),
     +  SBpo0_9z1_8ha(i__)
c    ..............Just test output...........
        write(6,6)
     +  Flux_3(i__),SBct1_4z1_8ha(i__),SBco1_4z1_8ha(i__),
     +  SBpo1_4z1_8ha(i__),SBct1_4z1_8OII(i__),SBco1_4z1_8OII(i__),
     +  SBpo1_4z1_8OII(i__),SBct1_4z1_8OIII(i__),SBco1_4z1_8OIII(i__),
     +  SBpo1_4z1_8OIII(i__),SBct0_9z1_8ha(i__),SBco0_9z1_8ha(i__),
     +  SBpo0_9z1_8ha(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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