FORTRAN Generation
(/./ftp/cats/J/AZh/78/963)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AZh/78/963 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-Apr-23
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/AZh/78/963        Galaxies with rows                       (Chernin+, 2001)
*================================================================================
*Galaxies with rows.
*    Chernin A.D., Kravtsova A.S., Zasov A.V., Arkhipova V.P.
*   <Astron. Zh. 78, 963 (2001)>
*   =2001AZh....78..963C
*   =2001ARep...45..841C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'catalog.dat'	! Galaxies possessing (or possibly possessing) rows

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

      character*9   Name       (nr__) ! PGC or NGC name
      character*11  MType      (nr__) ! Morphological type
      real*4        B0mag      (nr__) ! (mag) Integrated B magnitude corrected for Galactic
*                                   extinction and the inclination of the galaxy
*                                   to the line of sight
      integer*4     HRV        (nr__) ! (km/s) ? Heliocentric radial velocity
      real*4        BMAG       (nr__) ! (mag) ? Absolute B magnitude
      real*4        MHI_LB     (nr__) ! (Sun) ? HI mass-to-light ratio
      integer*4     Rows       (nr__) ! Number of rows detected in the galaxy
      integer*4     VV         (nr__) ! ? VV number
*                                    (Vorontsov-Vel'Yaminov, 1977A&AS...28....1V)
      character*1   n_VV       (nr__) ! [*] *: interacting galaxies with no VV numbers
      character*3   Com        (nr__) ! Comments (1)
*Note (1): Comments as follows:
*      1 =  ring galaxies with straight-line ring rows (hexagons).
*      2 =  most typical examples of galaxies with rows.
*      3 =  Galaxies with straight tails, purportedly of tidal origin.

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

C  Loading file 'catalog.dat'	! Galaxies possessing (or possibly possessing) rows

C  Format for file interpretation

    1 format(
     +  A9,1X,A11,1X,F4.1,1X,I5,1X,F5.1,1X,F4.2,1X,I1,1X,I5,A1,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'catalog.dat')
      write(6,*) '....Loading file: catalog.dat'
      do i__=1,204
        read(1,'(A57)')ar__
        read(ar__,1)
     +  Name(i__),MType(i__),B0mag(i__),HRV(i__),BMAG(i__),
     +  MHI_LB(i__),Rows(i__),VV(i__),n_VV(i__),Com(i__)
        if(ar__(28:32) .EQ. '') HRV(i__) = iNULL__
        if(ar__(34:38) .EQ. '') BMAG(i__) = rNULL__
        if(ar__(40:43) .EQ. '') MHI_LB(i__) = rNULL__
        if(ar__(47:51) .EQ. '') VV(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),MType(i__),B0mag(i__),HRV(i__),BMAG(i__),
     +  MHI_LB(i__),Rows(i__),VV(i__),n_VV(i__),Com(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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