FORTRAN Generation
(/./ftp/cats/J/MNRAS/369/1131)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/369/1131 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-Jun-15
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/MNRAS/369/1131     Structures in the GA region         (Radburn-Smith+, 2006)
*================================================================================
*Structures in the Great Attractor Region.
*    Radburn-Smith D.J., Lucey J.R., Woudt P.A., Kraan-Korteweg R.C., Watson F.G.
*   <Mon. Not. R. Astron. Soc. 369, 1131 (2006)>
*   =2006MNRAS.369.1131R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Redshifts for 3053 galaxies in the ZoA

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

C  J2000 position composed of: RAdeg DEdeg
      character*23  Galaxy     (nr__) ! Galaxy identification (1)
      real*8        RAdeg      (nr__) ! (deg) Right Ascension J2000 (degrees)
      real*8        DEdeg      (nr__) ! (deg) Declination J2000 (degrees)
      real*4        Jmagext    (nr__) ! (mag) ? 2MASS J-band magnitude (2)
      integer*4     czab       (nr__) ! (km/s) ? Heliocentric absorption redshift
      integer*4     czem       (nr__) ! (km/s) ? Heliocentric emission redshift
      integer*4     Field      (nr__) ! Field number
*Note (1): Where available the 2MASS XSC name (Jarrett et al.,
*     2000AJ....119.2498J) is given first and then the equivalent NED
*     identification. As of March 2006, seven galaxies are contained in
*     neither the NED or 2MASS XSC catalogues: Two with the prefix `KKOWA'
*     were found by Kraan-Korteweg et al. (2005ASPC..329..159K), two with
*     the prefix `NNSW' were found by Nagayama et al. (2005ASPC..329..177N)
*     and a further three with the prefix `DJRS' are new identifications
*     from visual inspection of DSS images.
*Note (2): Where available, the 2MASS J-band magnitude `j_m_ext' is listed.
*     This is an extrapolation from a fit to the radial surface brightness
*     profile.

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

C  Loading file 'table2.dat'	! Redshifts for 3053 galaxies in the ZoA

C  Format for file interpretation

    1 format(A23,1X,F9.5,1X,F9.5,1X,F5.2,1X,I6,1X,I6,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,3053
        read(1,'(A66)')ar__
        read(ar__,1)
     +  Galaxy(i__),RAdeg(i__),DEdeg(i__),Jmagext(i__),czab(i__),
     +  czem(i__),Field(i__)
        if(ar__(45:49) .EQ. '') Jmagext(i__) = rNULL__
        if(ar__(51:56) .EQ. '') czab(i__) = iNULL__
        if(ar__(58:63) .EQ. '') czem(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Galaxy(i__),RAdeg(i__),DEdeg(i__),Jmagext(i__),czab(i__),
     +  czem(i__),Field(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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