FORTRAN Generation
(/./ftp/cats/J/ApJ/816/98)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/816/98 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-10
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/ApJ/816/98 Galaxies in X-ray clusters with DES. I. Stellar mass (Zhang+, 2016)
*================================================================================
*Galaxies in X-ray selected clusters and groups in Dark Energy Survey data.
*I. Stellar mass growth of bright central galaxies since z~1.2.
*    Zhang Y., Miller C., McKay T., Rooney P., Evrard A.E., Romer A.K.,
*    Perfecto R., Song J., Desai S., Mohr J., Wilcox H., Bermeo-Hernandez A.,
*    Jeltema T., Hollowood D., Bacon D., Capozzi D., Collins C., Das R.,
*    Gerdes D., Hennig C., Hilton M., Hoyle B., Kay S., Liddle A., Mann R.G.,
*    Mehrtens N., Nichol R.C., Papovich C., Sahlen M., Soares-Santos M.,
*    Stott J., Viana P.T., Abbott T., Abdalla F.B., Banerji M., Bauer A.H.,
*    Benoit-Levy A., Bertin E., Brooks D., Buckley-Geer E., Burke D.L.,
*    Carnero Rosell A., Castander F.J., Diehl H.T., Doel P., Cunha C.E.,
*    Eifler T.F., Fausti Neto A., Fernandez E., Flaugher B., Fosalba P.,
*    Frieman J., Gaztanaga E., Gruen D., Gruendl R.A., Honscheid K., James D.,
*    Kuehn K., Kuropatkin N., Lahav O., Maia M.A.G., Makler M., Marshall J.L.,
*    Martini P., Miquel R., Ogando R., Plazas A.A., Roodman A., Rykoff E.S.,
*    Sako M., Sanchez E., Scarpine V., Schubnell M., Sevilla I., Smith R.C.,
*    Sobreira F., Suchyta E., Swanson M.E.C., Tarle G., Thaler J., Tucker D.,
*    Vikram V., da Costa L.N.
*   <Astrophys. J., 816, 98 (2016)>
*   =2016ApJ...816...98Z    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Bright central galaxies (BCGs) and their
                                 host cluster properties

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

      integer*4     Seq        (nr__) ! [1/106] Running sequence number
      character*19  XMMXCS     (nr__) ! Cluster name (JHHMMSS.s+DDMMSS.s or
*                                    JHHMMSS.ss+DDMMSS.s)
      real*4        M200       (nr__) ! [13.5/15.2] Cluster mass M_200_ (1)
      real*4        e_M200     (nr__) ! [0.1/0.4] M200 uncertainty
      real*4        z          (nr__) ! [0.06/1.3] Cluster redshift
      real*4        e_z        (nr__) ! [0/0.2] z uncertainty
      real*4        M_         (nr__) ! [10.2/12.3] BCG stellar mass
      real*4        e_M_       (nr__) ! [0.06/0.5] M* uncertainty
      real*4        Lum        (nr__) ! [-25/-21.1] BCG Dark Energy Survey (DES)
*                                   z-band luminosity
      real*4        e_Lum      (nr__) ! [0.03/1.09] Lum uncertainty
*Note (1): The mass inside a three-dimensional (3D) aperture within which the
*          averaged matter density is 200 times the critical density.

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

C  Loading file 'table3.dat'	! Bright central galaxies (BCGs) and their
*                                 host cluster properties

C  Format for file interpretation

    1 format(
     +  I3,8X,A19,1X,F5.2,1X,F4.2,1X,F5.3,1X,F5.3,1X,F5.2,1X,F4.2,1X,
     +  F6.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,106
        read(1,'(A76)')ar__
        read(ar__,1)
     +  Seq(i__),XMMXCS(i__),M200(i__),e_M200(i__),z(i__),e_z(i__),
     +  M_(i__),e_M_(i__),Lum(i__),e_Lum(i__)
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),XMMXCS(i__),M200(i__),e_M200(i__),z(i__),e_z(i__),
     +  M_(i__),e_M_(i__),Lum(i__),e_Lum(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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