FORTRAN Generation
(/./ftp/cats/J/ApJ/528/123)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/528/123 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-Mar-28
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/528/123   KRI photometry of galaxies near B2 1335+28   (Tanaka+, 2000)
*================================================================================
*A rich cluster of galaxies near the quasar B2 1335+28 at z=1.1:
*color distribution and star formation properties.
*     Tanaka I., Yamada T., Aragon-Salamanca A., Kodama T., Miyaji T., Ohta K.,
*     Arimoto N.
*    <Astrophys. J. 528, 123 (2000)>
*    =2000ApJ...528..123T
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! K-selected object catalog

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

      integer*4     v_TYA2000_  ! Sequential number (1)
      real*4        Xpos        ! (pix) Offset in right ascension from the quasar (2)
      real*4        Ypos        ! (pix) Offset in declination from the quasar (2)
      real*4        Kmag        ! (mag) K_MB_ magnitude (3)
      real*4        R_I         ! (mag) R-I colour index (4)
      real*4        e_R_I       ! (mag) rms uncertainty on R-I
      real*4        R_K         ! (mag) R-K colour index (4)
      real*4        e_R_K       ! (mag) rms uncertainty on R-K
      real*4        I_K         ! (mag) I-K colour index (4)
      real*4        e_I_K       ! (mag) rms uncertainty on I-K
*Note (1): Identification numbers in the 1000s, the 2000s, and the 3000s
*    represent galaxies in the cluster region, the western region, and the
*    eastern region, respectively.
*Note (2): Quasar position: RA=13h 38min 07.45s, DE=28{deg} 05' 10.7" (J2000)
*    The scale is 0.1886arcsec/pix, and not arcsec as stated in the note b
*    (see the "History" section below)
*Note (3): the value is the MAG_BEST output for the K-band data produced
*    by SExtractor (Bertin & Arnouts, 1996A&AS..117..393B). These values
*    are used as total magnitudes for the galaxies.
*Note (4): Colors are measured in 3.5" diameter apertures for the
*    seeing-matched frames. The tabulated errors are empirical values based
*    on repeated photometry for each object (see Sect. 2 of the paper)

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

C  Loading file 'table1.dat'	! K-selected object catalog

C  Format for file interpretation

    1 format(
     +  I4,1X,F6.1,1X,F6.1,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,
     +  F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,103
        read(1,'(A54)')ar__
        read(ar__,1)
     +  v_TYA2000_,Xpos,Ypos,Kmag,R_I,e_R_I,R_K,e_R_K,I_K,e_I_K
c    ..............Just test output...........
        write(6,1)
     +  v_TYA2000_,Xpos,Ypos,Kmag,R_I,e_R_I,R_K,e_R_K,I_K,e_I_K
c    .......End.of.Just test output...........
      end do
      close(1)

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