FORTRAN Generation
(/./ftp/cats/J/ApJ/693/1840)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/693/1840 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/693/1840           A3266 galaxies at 24um                     (Bai+, 2009)
*================================================================================
*The infrared luminosity functions of rich clusters.
*    Bai L., Rieke G.H., Rieke M.J., Christlein D., Zabludoff A.I.
*   <Astrophys. J., 693, 1840-1850 (2009)>
*   =2009ApJ...693.1840B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Cluster galaxies with 24{mu}m emission>0.25mJy

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg       ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*4        z           ! Redshift (spectroscopic)
      integer*4     r_z         ! Reference for z (1)
      real*4        F24         ! (mJy) Spitzer/MIPS 24 micron band flux density
      real*4        e_F24       ! (mJy) Uncertainty in F24
      real*4        logLIR      ! ([10-7W]) Log IR luminosity in ergs/s
      real*4        SFR         ! (Msun/yr) Star Formation Rate
*Note (1): References for redshifts as follows:
*    1 = Christlein & Zabludoff (2003, Cat. J/ApJ/591/764);
*    2 = Quintana et al. (1996, Cat. J/AJ/112/36);
*    3 = Green et al. (1990MNRAS.243..159G).

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

C  Loading file 'table1.dat'	! Cluster galaxies with 24{mu}m emission>0.25mJy

C  Format for file interpretation

    1 format(
     +  F8.5,1X,F9.5,1X,F5.3,1X,I1,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,109
        read(1,'(A48)')ar__
        read(ar__,1)RAdeg,DEdeg,z,r_z,F24,e_F24,logLIR,SFR
c    ..............Just test output...........
        write(6,1)RAdeg,DEdeg,z,r_z,F24,e_F24,logLIR,SFR
c    .......End.of.Just test output...........
      end do
      close(1)

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