FORTRAN Generation
(/./ftp/cats/J/AJ/106/493)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/106/493 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/AJ/106/493              Globular clusters in M87                  (Lee+, 1993)
*================================================================================
*Metal abundances for a large sample of globular clusters in M87
*         LEE M.G., GEISLER D.
*         <Astron. J. 106, 493 (1993)>
*         =1993AJ....106..493L   (SIMBAD/NED Reference)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3'	! M87 globular cluster candidates with T1 < 21

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

      character*2   Field      (nr__) ! Field designator:
*                                   N1 = North, E1 = East-1, E2 = East-2,
*                                   W1 = West, and C = Center.
      integer*4     ID         (nr__) ! Running number (finding charts are given in
*                                   Plates 15-19 in the printed paper.
      real*4        X          (nr__) ! (pix) X coordinate of object
      real*4        Y          (nr__) ! (pix) Y coordinate of object
      real*4        T1         (nr__) ! (mag) T1 magnitude (Washington system)
      real*4        e_T1       (nr__) ! (mag) rms uncertainty on T1
      real*4        M_T1       (nr__) ! (mag) M-T1 color (Washington system)
      real*4        e_M_T1     (nr__) ! (mag) rms uncertainty on M-T1
      real*4        C_T1       (nr__) ! (mag) C-T1 color (Washington system)
      real*4        e_C_T1     (nr__) ! (mag) rms uncertainty on C-T1
      real*4        v_Fe_H_    (nr__) ! Derived metal abundance, [Fe/H]
      real*4        RG         (nr__) ! (arcsec) Projected galactocentric distance

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

C  Loading file 'table3'	! M87 globular cluster candidates with T1 < 21

C  Format for file interpretation

    1 format(
     +  A2,1X,I3,2X,F5.1,2X,F5.1,2X,F5.2,1X,F4.2,2X,F4.2,1X,F4.2,2X,
     +  F4.2,1X,F4.2,2X,F5.2,2X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3')
      write(6,*) '....Loading file: table3'
      do i__=1,144
        read(1,'(A68)')ar__
        read(ar__,1)
     +  Field(i__),ID(i__),X(i__),Y(i__),T1(i__),e_T1(i__),M_T1(i__),
     +  e_M_T1(i__),C_T1(i__),e_C_T1(i__),v_Fe_H_(i__),RG(i__)
c    ..............Just test output...........
        write(6,1)
     +  Field(i__),ID(i__),X(i__),Y(i__),T1(i__),e_T1(i__),M_T1(i__),
     +  e_M_T1(i__),C_T1(i__),e_C_T1(i__),v_Fe_H_(i__),RG(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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