FORTRAN Generation
(/./ftp/cats/J/MNRAS/359/930)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/359/930 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 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/MNRAS/359/930   CUYS survey of Ha+NII ELG galaxies    (Bongiovanni+, 2005)
*================================================================================
*The CIDA-UCM-Yale shallow survey for emission-line galaxies.
*    Bongiovanni A., Bruzual G., Magris G., Gallego J., Garcia-Dabo C.E.,
*    Coppi P., Sabbey C.
*   <Mon. Not. R. Astron. Soc., 359, 930-940 (2005)>
*   =2005MNRAS.359..930B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! The CIDA-UCM-Yale survey (CUYS) catalogue of
                              emission line galaxies.

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

C  J2000.0 position composed of: RAdeg DEdeg
      character*13  CUYS       (nr__) ! CUYS designation (HHMMSS-DDMMSS, J2000)
      real*8        RAdeg      (nr__) ! (deg) USNO (<I/252>) Right Ascension in
*                                        decimal degrees (J2000.0)
      real*8        DEdeg      (nr__) ! (deg) USNO (<I/252>) Declination in
*                                        decimal degrees (J2000.0)
      real*4        Bjmag      (nr__) ! (mag) APM Bj magnitude (1)
      real*4        rmag       (nr__) ! (mag) APM r magnitude (1)
      real*4        SuBr       (nr__) ! (mag/arcsec2) APM Bj surface brightness (1)
      real*4        z          (nr__) ! Redshift
      real*4        amaj       (nr__) ! (0.5arcsec) APM Bj semi-major axis (1)
      real*4        Ell        (nr__) ! APM Bj ellipticity (1-b/a) (1)
      integer*4     PA         (nr__) ! (deg) APM position angle of semi-major axis (1)
      real*8        EW_Ha_NII  (nr__) ! (0.1nm) Equivalent width of H{alpha}+[NII]
      real*4        e_EW_Ha_NII(nr__) ! (0.1nm) rms uncertainty on EWHa+NII
      real*8        F_Ha_NII   (nr__) ! ([mW/m2]) log10 of the (H{alpha}+[NII]) flux
      real*8        e_F_Ha_NII (nr__) ! ([mW/m2]) log10 of rms uncertainty on F(Ha+NII)
*Note (1): From Irwin et al., 1990MNRAS.245..289I

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

C  Loading file 'table1.dat'	! The CIDA-UCM-Yale survey (CUYS) catalogue of
*                              emission line galaxies.

C  Format for file interpretation

    1 format(
     +  5X,A13,1X,F9.5,1X,F8.5,1X,F5.2,1X,F5.2,1X,F5.2,1X,F6.4,1X,
     +  F4.1,1X,F4.2,1X,I3,1X,F8.2,1X,F6.2,1X,F9.5,1X,F9.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,427
        read(1,'(A112)')ar__
        read(ar__,1)
     +  CUYS(i__),RAdeg(i__),DEdeg(i__),Bjmag(i__),rmag(i__),
     +  SuBr(i__),z(i__),amaj(i__),Ell(i__),PA(i__),EW_Ha_NII(i__),
     +  e_EW_Ha_NII(i__),F_Ha_NII(i__),e_F_Ha_NII(i__)
c    ..............Just test output...........
        write(6,1)
     +  CUYS(i__),RAdeg(i__),DEdeg(i__),Bjmag(i__),rmag(i__),
     +  SuBr(i__),z(i__),amaj(i__),Ell(i__),PA(i__),EW_Ha_NII(i__),
     +  e_EW_Ha_NII(i__),F_Ha_NII(i__),e_F_Ha_NII(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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