FORTRAN Generation
(/./ftp/cats/J/A_A/445/819)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/445/819 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-Oct-11
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/445/819       Systems of galaxies in Shapley supercluster (Ragone+, 2006)
*================================================================================
*Identification and study of systems of galaxies in the Shapley supercluster.
*    Ragone C.J., Muriel H., Proust D., Reisenegger A., Quintana H.
*   <Astron. Astrophys., 445, 819-825 (2006)>
*   =2006A&A...445..819R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Properties of SSGC groups

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     SSGC       (nr__) ! Sequential number of the system of galaxies
      real*8        RAdeg      (nr__) ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination in decimal degrees (J2000)
      integer*4     v_RV_      (nr__) ! (km/s) Mean radial velocity
      integer*4     sigma      (nr__) ! (km/s) Velocity dispersion
      real*4        Mass       (nr__) ! (10+13solMass) Virial mass
      integer*4     Nmemb      (nr__) ! Number of members of the system of galaxies
      real*4        Rvir       (nr__) ! (Mpc) Virial radius

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

C  Declarations for 'table2.dat'	! Groups or clusters of galaxies previously
                              identified close to SSGC groups.

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

      integer*4     SSGC_1     (nr__1) ! Sequential number of the system of galaxies
      character*17  System     (nr__1) ! System name
      character*6   Type       (nr__1) ! Type of system (1)
      integer*4     v_RV__1    (nr__1) ! (km/s) ?=- Mean radial velocity
      real*4        DTheta     (nr__1) ! (arcmin) Difference in the central position
*Note (1): Groups as follows:
*   GClstr = cluster of galaxies
*   GCstr  = cluster of stars
*   GGroup = group of galaxies

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

C  Loading file 'table1.dat'	! Properties of SSGC groups

C  Format for file interpretation

    1 format(I3,1X,F7.3,1X,F7.3,1X,I5,1X,I3,1X,F6.2,1X,I2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,122
        read(1,'(A44)')ar__
        read(ar__,1)
     +  SSGC(i__),RAdeg(i__),DEdeg(i__),v_RV_(i__),sigma(i__),
     +  Mass(i__),Nmemb(i__),Rvir(i__)
c    ..............Just test output...........
        write(6,1)
     +  SSGC(i__),RAdeg(i__),DEdeg(i__),v_RV_(i__),sigma(i__),
     +  Mass(i__),Nmemb(i__),Rvir(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Groups or clusters of galaxies previously
*                              identified close to SSGC groups.

C  Format for file interpretation

    2 format(5X,I3,1X,A17,1X,A6,2X,I5,3X,F4.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,78
        read(1,'(A47)')ar__1
        read(ar__1,2)
     +  SSGC_1(i__),System(i__),Type(i__),v_RV__1(i__),DTheta(i__)
        if (v_RV__1(i__) .EQ. 45) v_RV__1(i__) =  iNULL__
c    ..............Just test output...........
        write(6,2)
     +  SSGC_1(i__),System(i__),Type(i__),v_RV__1(i__),DTheta(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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