FORTRAN Generation
(/./ftp/cats/J/ApJ/682/135)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/682/135 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-Mar-29
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/682/135             CCD photometry of M60                     (Lee+, 2008)
*================================================================================
*Washington CCD photometry of the globular cluster system of the giant elliptical
*galaxy M60 in Virgo.
*    Lee M.G., Park H.S., Kim E., Hwang H.S., Kim S.C., Geisler D.
*   <Astrophys. J., 682, 135-154 (2008)>
*   =2008ApJ...682..135L
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! CT_1_ photometry of the measured point sources
                             with {sigma}(C-T_1_)<0.3 in M60

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq        (nr__) ! Source ID number (<[LHP2008] NNNNN> in Simbad)
      real*8        Xpix       (nr__) ! (pix) The X-coordinate on the chip (1)
      real*8        Ypix       (nr__) ! (pix) The Y-coordinate on the chip (1)
      real*8        RAdeg      (nr__) ! (deg) Right Ascension (J2000) in decimal degrees
      real*8        DEdeg      (nr__) ! (deg) Declination (J2000) in decimal degrees
      real*4        T1mag      (nr__) ! (mag) The T_1_ band magnitude
      real*4        e_T1mag    (nr__) ! (mag) Error in T1mag
      real*4        C_T1       (nr__) ! (mag) The (C-T_1_) color index
      real*4        e_C_T1     (nr__) ! (mag) Error in C-T1
*Note (1): Xpix and Ypix increase toward east and north, respectively.
*     A pixel corresponds to 0.47 arcsec.

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

C  Loading file 'table3.dat'	! CT_1_ photometry of the measured point sources
*                             with {sigma}(C-T_1_)<0.3 in M60

C  Format for file interpretation

    1 format(
     +  I5,1X,F7.2,1X,F7.2,1X,F10.6,1X,F9.6,1X,F6.3,1X,F5.3,1X,F6.3,
     +  1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,4708
        read(1,'(A68)')ar__
        read(ar__,1)
     +  Seq(i__),Xpix(i__),Ypix(i__),RAdeg(i__),DEdeg(i__),T1mag(i__),
     +  e_T1mag(i__),C_T1(i__),e_C_T1(i__)
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),Xpix(i__),Ypix(i__),RAdeg(i__),DEdeg(i__),T1mag(i__),
     +  e_T1mag(i__),C_T1(i__),e_C_T1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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