FORTRAN Generation
(/./ftp/cats/J/ApJ/614/671)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/614/671 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-16
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/614/671     Hot, dusty ultraluminous galaxies at z~2      (Chapman+, 2004)
*================================================================================
*A population of hot, dusty ultraluminous galaxies at z~2.
*    Chapman S.C., Smail I., Blain A.W., Ivison R.J.
*   <Astrophys. J., 614, 671-678 (2004)>
*   =2004ApJ...614..671C    (
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Properties of submillimeter-quiet optically
                             faint {mu}Jy radio galaxies (OFRGs)

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

      character*19  RG         (nr__) ! Source identifier
*                                         ([CSB2004b] RG JHHMMSS.ss+DDMMSS.s)
      real*4        S1_4GHz    (nr__) ! (uJy) Flux density at 1.4GHz
      real*4        e_S1_4GHz  (nr__) ! (uJy) Error in S1.4GHz
      real*4        Rmag       (nr__) ! (mag) Optical magnitude in the R-band
      real*4        S850um     (nr__) ! (mJy) Flux density at 850{mu}m (350GHz)
      real*4        e_S850um   (nr__) ! (mJy) Error in S850um
      real*4        z          (nr__) ! Redshift
      character*1   l_Td       (nr__) ! Limit flag on Td
      integer*4     Td         (nr__) ! (K) Dust temperature
      real*4        LIR        (nr__) ! (10+12solLum) Total infrared luminosity
      character*6   SpType     (nr__) ! Spectral type

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

C  Loading file 'table1.dat'	! Properties of submillimeter-quiet optically
*                             faint {mu}Jy radio galaxies (OFRGs)

C  Format for file interpretation

    1 format(
     +  3X,A19,2X,F5.1,2X,F4.1,2X,F4.1,2X,F4.1,2X,F3.1,2X,F5.3,2X,A1,
     +  I2,2X,F4.1,2X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,18
        read(1,'(A78)')ar__
        read(ar__,1)
     +  RG(i__),S1_4GHz(i__),e_S1_4GHz(i__),Rmag(i__),S850um(i__),
     +  e_S850um(i__),z(i__),l_Td(i__),Td(i__),LIR(i__),SpType(i__)
c    ..............Just test output...........
        write(6,1)
     +  RG(i__),S1_4GHz(i__),e_S1_4GHz(i__),Rmag(i__),S850um(i__),
     +  e_S850um(i__),z(i__),l_Td(i__),Td(i__),LIR(i__),SpType(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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