FORTRAN Generation
(/./ftp/cats/J/AJ/108/1598)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/108/1598 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-Mar-29
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/AJ/108/1598       Virgo cluster ellipticals. III. (Ferrarese+, 1994)
*================================================================================
*Hubble Space Telescope photometry of the central regions of Virgo cluster
*elliptical galaxies. III. Brightness profiles
*     Ferrarese L., van den Bosch F.C., Ford H.C., Jaffe W., O'Connell R.W.
*    <Astron. J. 108, 1598 (1994)>
*    =1994AJ....108.1598F      (SIMBAD/NED Reference)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tables'	! HST surface brightness profile

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

      character*8   Name        ! Galaxy name
      real*4        Dist        ! (arcsec) Distance from center of galaxy
      real*4        SBa         ! (mag/arcsec2) Surface brightness along major axis
      real*4        e_SBa       ! (mag/arcsec2) rms uncertainty on SBa
      real*4        SBb         ! (mag/arcsec2) []? Surface brightness along minor axis
      real*4        e_SBb       ! (mag/arcsec2) []? rms uncertainty on SBb

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

C  Loading file 'tables'	! HST surface brightness profile

C  Format for file interpretation

    1 format(A8,1X,F4.1,2X,F5.2,1X,F4.2,2X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tables')
      write(6,*) '....Loading file: tables'
      do i__=1,724
        read(1,'(A37)')ar__
        read(ar__,1)Name,Dist,SBa,e_SBa,SBb,e_SBb
        if(ar__(28:32) .EQ. '') SBb = rNULL__
        if(ar__(34:37) .EQ. '') e_SBb = rNULL__
c    ..............Just test output...........
        write(6,1)Name,Dist,SBa,e_SBa,SBb,e_SBb
c    .......End.of.Just test output...........
      end do
      close(1)

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