FORTRAN Generation
(/./ftp/cats/J/AJ/123/1807)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/123/1807 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 2026-Sep-06
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/123/1807       SDSS galaxy clusters redshifts           (Goto+, 2002)
*================================================================================
*The cut-and-enhance method: selecting clusters of galaxies from the
*Sloan Digital Sky Survey commissioning data.
*    Goto T., Sekiguchi M., Nichol R.C., Bahcall N.A., Kim R.S.J., Annis J.,
*    Ivezic Z., Brinkmann J., Hennessy G.S., Szokoly G.P., Tucker D.L.
*   <Astron. J. 123, 1807 (2002)>
*   =2002AJ....123.1807G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'v4-7526.dat'	! SDSS Cut & Enhance Galaxy cluster catalog,
                              145.1{deg}< RA<236{deg}, |b|<1.25{deg}

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg      (nr__) ! (deg) Right ascension, in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination, in decimal degrees (J2000)
      real*8        Rad        (nr__) ! (deg) Radius
      integer*4     Rich       (nr__) ! Richness of the cluster (1)
      real*8        Ngal       (nr__) ! Number of galaxies fed (2)
      real*8        z          (nr__) ! Estimated redshift using maxBCG strategy
*Note (1): the richness is defined here as the number of galaxies inside
*     the detected cluster radius that lie in the 2 mag range (r* band) 
*     from m_3_ (the third brightest galaxy) to m3 + 2 (CE richness).
*Note (2): Ngal the number of galaxies (within 2.1 Abell radius) input
*     to a cluster, whose magnitudes are r*<21.5 at the redshift of A1577.

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

C  Declarations for 'v4-94125.dat'	! SDSS Cut & Enhance Galaxy cluster catalog,
                              350.5{deg}<RA<56.51{deg}, |b|<1.25{deg}

      integer*4 nr__1
      parameter (nr__1=1868)	! Number of records
      character*54 ar__1  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg_1    (nr__1) ! (deg) Right ascension, in decimal degrees (J2000)
      real*8        DEdeg_1    (nr__1) ! (deg) Declination, in decimal degrees (J2000)
      real*8        Rad_1      (nr__1) ! (deg) Radius
      integer*4     Rich_1     (nr__1) ! Richness of the cluster (1)
      real*8        Ngal_1     (nr__1) ! Number of galaxies fed (2)
      real*8        z_1        (nr__1) ! Estimated redshift using maxBCG strategy
*Note (1): the richness is defined here as the number of galaxies inside
*     the detected cluster radius that lie in the 2 mag range (r* band) 
*     from m_3_ (the third brightest galaxy) to m3 + 2 (CE richness).
*Note (2): Ngal the number of galaxies (within 2.1 Abell radius) input
*     to a cluster, whose magnitudes are r*<21.5 at the redshift of A1577.

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

C  Loading file 'v4-7526.dat'	! SDSS Cut & Enhance Galaxy cluster catalog,
*                              145.1{deg}< RA<236{deg}, |b|<1.25{deg}

C  Format for file interpretation

    1 format(F10.6,1X,F9.6,1X,F8.6,1X,I3,1X,F10.6,1X,F9.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'v4-7526.dat')
      write(6,*) '....Loading file: v4-7526.dat'
      do i__=1,2770
        read(1,'(A54)')ar__
        read(ar__,1)
     +  RAdeg(i__),DEdeg(i__),Rad(i__),Rich(i__),Ngal(i__),z(i__)
c    ..............Just test output...........
        write(6,1)
     +  RAdeg(i__),DEdeg(i__),Rad(i__),Rich(i__),Ngal(i__),z(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'v4-94125.dat'	! SDSS Cut & Enhance Galaxy cluster catalog,
*                              350.5{deg}<RA<56.51{deg}, |b|<1.25{deg}

C  Format for file interpretation

    2 format(F10.6,1X,F9.6,1X,F8.6,1X,I3,1X,F10.6,1X,F9.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'v4-94125.dat')
      write(6,*) '....Loading file: v4-94125.dat'
      do i__=1,1868
        read(1,'(A54)')ar__1
        read(ar__1,2)
     +  RAdeg_1(i__),DEdeg_1(i__),Rad_1(i__),Rich_1(i__),Ngal_1(i__),
     +  z_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  RAdeg_1(i__),DEdeg_1(i__),Rad_1(i__),Rich_1(i__),Ngal_1(i__),
     +  z_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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