FORTRAN Generation
(/./ftp/cats/J/A_A/396/397)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/396/397 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 2024-Apr-19
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/A+A/396/397   Deep cluster survey in Chandra archival data    (Boschin+, 2002)
*================================================================================
*A deep cluster survey in Chandra archival data. First results.
*    Boschin W.
*   <Astron. Astrophys., 396, 397-409 (2002)>
*   =2002A&A...396..397B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! The cluster catalogue

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     v_B2002c_   ! Sequential number
      real*8        RAdeg       ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*4        FX          ! (mW/m2) X-ray flux
      real*4        e_FX        ! (mW/m2) rms uncertainty on FX
      real*4        r           ! (arcsec) Estimated characteristic radius
      real*4        S_N         ! Signal-to-noise ratio
      character*1   Note        ! Note (1)
*Note (1): Notes as follows:
*      1 = z=0.4 cluster (No 97, Vikhlinin et al., 1998, <J/ApJ/502/558>)
*      2 = z=0.16 cluster (RIXOS F258-101, Mason et al. 2000, <J/MNRAS/311/456>)
*      3 = cluster MS 1358.4+6245 at z=0.328
*      P = flux uncertain due to the presence of a nearby pointlike source
*      B = source very close to the border of the X-ray image

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

C  Loading file 'table1.dat'	! The cluster catalogue

C  Format for file interpretation

    1 format(I2,1X,F8.4,1X,F8.4,1X,E7.2,1X,E7.2,1X,F4.1,1X,F5.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,36
        read(1,'(A49)')ar__
        read(ar__,1)v_B2002c_,RAdeg,DEdeg,FX,e_FX,r,S_N,Note
c    ..............Just test output...........
        write(6,1)v_B2002c_,RAdeg,DEdeg,FX,e_FX,r,S_N,Note
c    .......End.of.Just test output...........
      end do
      close(1)

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