FORTRAN Generation
(/./ftp/cats/J/ApJ/459/110)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/459/110 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 2024-Apr-19
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/459/110      Line strengths and gradients in S0 galaxies (Fisher+ 1996)
*================================================================================
*Line strengths and line strength gradients in S0 galaxies
*     Fisher D., Franx M., Illingworth G.
*    <Astrophys. J. 459, 110 (1996)>
*    =1996ApJ...459..110F
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table9'	! Line strength data

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

      character*8   Name       (nr__) ! Object name
      integer*4     PA         (nr__) ! (deg) Position angle
      character*6   n_PA       (nr__) ! Additional information on PA (1)
      character*5   Axis       (nr__) ! Position angle axis (Minor or Major)
      real*4        Rad        (nr__) ! (arcsec) Radius
      real*4        Fe4668     (nr__) ! ?=-9.99 Fe4668 line strength estimate
      real*4        e_Fe4668   (nr__) ! ?=-9.99 Fe4668 error
      real*4        Hbeta      (nr__) ! ?=-9.99 Hbeta line strength estimate
      real*4        e_Hbeta    (nr__) ! ?=-9.99 Hbeta error
      real*4        Mgb        (nr__) ! ?=-9.99 Mg b line strength estimate
      real*4        e_Mgb      (nr__) ! ?=-9.99 Mgb error
      real*4        Fe5270     (nr__) ! ?=-9.99 Fe5270 line strength estimate
      real*4        e_Fe5270   (nr__) ! ?=-9.99 Fe5270 error
      real*4        Fe5335     (nr__) ! ?=-9.99 Fe5335 line strength estimate
      real*4        e_Fe5335   (nr__) ! ?=-9.99 Fe5335 error
      real*4        OIII       (nr__) ! ?=-9.99 [O III] line strength estimate
      real*4        e_OIII     (nr__) ! ?=-9.99 OIII error
*Note (1): For NGC 5866, this column contains
*                 6"  N  when PA=126deg 6"  N
*            and  4.5"NW when PA= 38deg 4.5"NW

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

C  Declarations for 'table10'	! Mg2 data

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

      character*8   Name_1     (nr__1) ! Object name
      integer*4     PA_1       (nr__1) ! (deg) Position angle
      character*6   n_PA_1     (nr__1) ! Additional information on PA (1)
      character*5   Axis_1     (nr__1) ! Position angle axis (Minor or Major)
      real*4        Rad_1      (nr__1) ! (arcsec) Radius
      real*4        Mg2        (nr__1) ! ? Mg_2 line strength estimate
      real*4        e_Mg2      (nr__1) ! ? Mg2 error
*Note (1): For NGC 5866, this column contains
*                 6"  N  when PA=126deg 6"  N
*            and  4.5"NW when PA= 38deg 4.5"NW

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

C  Loading file 'table9'	! Line strength data

C  Format for file interpretation

    1 format(
     +  A8,4X,I3,1X,A6,1X,A5,2X,F4.1,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,
     +  1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,
     +  F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9')
      write(6,*) '....Loading file: table9'
      do i__=1,436
        read(1,'(A106)')ar__
        read(ar__,1)
     +  Name(i__),PA(i__),n_PA(i__),Axis(i__),Rad(i__),Fe4668(i__),
     +  e_Fe4668(i__),Hbeta(i__),e_Hbeta(i__),Mgb(i__),e_Mgb(i__),
     +  Fe5270(i__),e_Fe5270(i__),Fe5335(i__),e_Fe5335(i__),OIII(i__),
     +  e_OIII(i__)
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),PA(i__),n_PA(i__),Axis(i__),Rad(i__),Fe4668(i__),
     +  e_Fe4668(i__),Hbeta(i__),e_Hbeta(i__),Mgb(i__),e_Mgb(i__),
     +  Fe5270(i__),e_Fe5270(i__),Fe5335(i__),e_Fe5335(i__),OIII(i__),
     +  e_OIII(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table10'	! Mg2 data

C  Format for file interpretation

    2 format(A8,4X,I3,1X,A6,1X,A5,2X,F4.1,2X,F5.3,2X,F4.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10')
      write(6,*) '....Loading file: table10'
      do i__=1,556
        read(1,'(A47)')ar__1
        read(ar__1,2)
     +  Name_1(i__),PA_1(i__),n_PA_1(i__),Axis_1(i__),Rad_1(i__),
     +  Mg2(i__),e_Mg2(i__)
        if(ar__1(37:41) .EQ. '') Mg2(i__) = rNULL__
        if(ar__1(44:47) .EQ. '') e_Mg2(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),PA_1(i__),n_PA_1(i__),Axis_1(i__),Rad_1(i__),
     +  Mg2(i__),e_Mg2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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