FORTRAN Generation
(/./ftp/cats/J/AJ/130/2012)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/130/2012 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 2026-May-17
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/130/2012       Redshifts in SARS clusters               (Way+, 2005)
*================================================================================
*Redshifts in the Southern Abell Redshift Survey clusters. I. The data.
*    Way M.J., Quintana H., Infante L., Lambas D.G., Muriel H.
*   <Astron. J., 130, 2012-2018 (2005)>
*   =2005AJ....130.2012W
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Velocity Data

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

C  B1950 position composed of: RAdeg DEdeg
      integer*4     Abell       ! Abell cluster identification
      real*8        RAdeg       ! (deg) Galaxy right ascension in decimal degrees (B1950)
      real*8        DEdeg       ! (deg) Galaxy declination in decimal degrees (B1950)
      integer*4     RV          ! (km/s) Radial velocity
      integer*4     e_RV        ! (km/s) ?=-99 Error in RV (1)
      real*4        q_RV        ! ? Redshift reliability number (2)
      integer*4     NInt        ! ? Number of emission or absorption 
*                                 lines measured (3)
      real*4        bmag        ! (mag) The APM b_j_ magnitude
*Note (1): -99 = only one or two strong emission or absorption lines were found
*          and no estimate of the error can be given.
*Note (2): Tonry and Davis (1979AJ.....84.1511T) reliability R-value:
*          a value less than 4 indicates a need to look at the spectra
*          and try line-by-line Gaussian fitting
*Note (3): When column Rfloat is empty, the number of individual emission or
*          absorption lines used in the velocity estimation is indicated.

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

C  Loading file 'table2.dat'	! Velocity Data

C  Format for file interpretation

    1 format(6X,I4,1X,F9.5,1X,F9.5,2X,I5,1X,I3,1X,F5.2,1X,I2,1X,F4.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,3440
        read(1,'(A55)')ar__
        read(ar__,1)Abell,RAdeg,DEdeg,RV,e_RV,q_RV,NInt,bmag
        if(ar__(43:47) .EQ. '') q_RV = rNULL__
        if(ar__(49:50) .EQ. '') NInt = iNULL__
c    ..............Just test output...........
        write(6,1)Abell,RAdeg,DEdeg,RV,e_RV,q_RV,NInt,bmag
c    .......End.of.Just test output...........
      end do
      close(1)

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