FORTRAN Generation
(/./ftp/cats/J/ApJ/850/207)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/850/207 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/ApJ/850/207      Action dynamics of the Local Supercluster      (Shaya+, 2017)
*================================================================================
*Action dynamics of the Local Supercluster.
*    Shaya E.J., Tully R.B., Hoffman Y., Pomarede D.
*   <Astrophys. J., 850, 207 (2017)>
*   =2017ApJ...850..207S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Results of the velocities and masses in the best
                              model (updated version by the author)

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

C  J2000 position composed of: RAdeg DEdeg
      character*12  GName      (nr__) ! Identifier of most prominent system member
      integer*4     Nest       (nr__) ! [100002/900040] Numeric identifier (1)
      real*8        Mass       (nr__) ! (10+11Msun) [0/6253] Mass
      integer*4     vO         (nr__) ! (km/s) [-106/3425] Observed radial velocity
      integer*4     vM         (nr__) ! (km/s) [-107/3207] Model radial velocity
      real*4        Dist       (nr__) ! (Mpc) [0/43] Distance
      real*4        e_Dist     (nr__) ! [0/0.3] Fractional uncertainty in Dist
      integer*4     PGC        (nr__) ! ? PGC number of the prominent system
      real*8        RAdeg      (nr__) ! (deg) ? Right ascension (J2000)
      real*8        DEdeg      (nr__) ! (deg) ? Declination (J2000)
*Note (1): The IDs that start with the digits 1 and 2 refer to nests (groups)
*          of galaxies from Tully (2015AJ....149...54T ;
*          <[T2015] nest {Nest}> in Simbad -- if number of members >1), while
*          entities that are additional to that reference have an ID beginning
*          with 3. IDs that start with the digit 9 are not real objects (points
*          added to fill in the zone of avoidance).

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

C  Loading file 'table2.dat'	! Results of the velocities and masses in the best
*                              model (updated version by the author)

C  Format for file interpretation

    1 format(
     +  A12,1X,I6,1X,F7.2,1X,I4,1X,I4,1X,F4.1,1X,F4.2,1X,I7,1X,F12.8,
     +  1X,F13.9)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,1382
        read(1,'(A82)')ar__
        read(ar__,1)
     +  GName(i__),Nest(i__),Mass(i__),vO(i__),vM(i__),Dist(i__),
     +  e_Dist(i__),PGC(i__),RAdeg(i__),DEdeg(i__)
        if(ar__(49:55) .EQ. '') PGC(i__) = iNULL__
        if(ar__(57:68) .EQ. '') RAdeg(i__) = rNULL__
        if(ar__(70:82) .EQ. '') DEdeg(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  GName(i__),Nest(i__),Mass(i__),vO(i__),vM(i__),Dist(i__),
     +  e_Dist(i__),PGC(i__),RAdeg(i__),DEdeg(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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