FORTRAN Generation
(/./ftp/cats/J/A_A/454/333)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/454/333 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-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/A+A/454/333       Computed Hbeta indices from ATLAS9 model   (Castelli+, 2006)
*================================================================================
*Computed H{beta} indices from ATLAS9 model atmospheres.
*    Castelli F., Kurucz R.L.
*   <Astron. Astrophys. 454, 333 (2006)>
*   =2006A&A...454..333C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! H{beta} indices for 16 different metallicities
                              and Vturb=2km/s and for [M/H]=0.0 and Vturb=0.

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

      character*13  Seq         ! Sequential designation of the model (1)
      integer*4     Model       ! [1/476] Model number for given [M/H] and Vturb
      integer*4     Teff        ! (K) Effective temperature
      real*4        logg        ! ([cm/s2]) Gravity surface
      real*4        v_M_H_      ! ([Sun]) Fixed metallicity, log[N(Fe)/N(Fe_Sun_)] (2)
      character*1   n__M_H_     ! [a] "a" indicates enhanced abundances by
*                                         0.4dex for the alpha elements
      real*4        Vturb       ! (km/s) [0.00/2.00] Fixed microturbulent velocity
      real*4        l_H         ! Mixing-length parameter
      real*8        small       ! (mag) Magnitude through the small filter at the
*                                 star surface
      real*8        big         ! (mag) Magnitude through the big filter at the
*                                 star surface
      real*4        beta        ! (mag) H{beta} index normalized to Vega
*Note (1): Sequential designation, added by CDS, made as Seq-Vt-[M/H]a
*Note (2): Metallicity has the fixed values [+0.5], [+0.5a], [+0.2], [0.0],
*          [0.0a], [-0.5], [-0.5a], [-1.0], [-1.0a], [-1.5], [-1.5a], [-2.0],
*          [-2.0a], [-2.5], [-2.5a], [-4.0a]

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

C  Loading file 'table1.dat'	! H{beta} indices for 16 different metallicities
*                              and Vturb=2km/s and for [M/H]=0.0 and Vturb=0.

C  Format for file interpretation

    1 format(
     +  A13,3X,I3,1X,I5,1X,F5.2,1X,F5.2,A1,1X,F4.2,2X,F4.2,1X,F7.3,1X,
     +  F7.3,3X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,8092
        read(1,'(A73)')ar__
        read(ar__,1)
     +  Seq,Model,Teff,logg,v_M_H_,n__M_H_,Vturb,l_H,small,big,beta
c    ..............Just test output...........
        write(6,1)
     +  Seq,Model,Teff,logg,v_M_H_,n__M_H_,Vturb,l_H,small,big,beta
c    .......End.of.Just test output...........
      end do
      close(1)

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