FORTRAN Generation
(/./ftp/cats/J/AJ/110/2319)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/110/2319 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-Mar-28
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/110/2319               Abundances in RR Lyr variables (Clementini+ 1995)
*================================================================================
*The composition of HB stars: RR Lyrae variables
*     Clementini G., Carretta E., Gratton R., Merighi R., Mould J.R.
*     McCarthy J.K.
*    <Astron. J. 110, 2319 (1995)>
*    =1995AJ....110.2319C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! List of lines and adopted gf values and their
                                equivalent widths

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

      character*6   Element    (nr__) ! Element
      real*8        Lambda     (nr__) ! (0.1nm) Wavelength
      real*4        EP         (nr__) ! (eV) Energy potential
      real*4        loggf      (nr__) ! Oscillator strength
      real*4        EWRRCet    (nr__) ! (0.1nm) Equivalent width for RR Cet
      real*4        lognRRCet  (nr__) ! ([Sun]) Abundance for RR Cet
      real*4        EWRRLyr    (nr__) ! (0.1nm) Equivalent width for RR Lyr
      real*4        lognRRLyr  (nr__) ! ([Sun]) Abundance for RR Lyr
      real*4        EWSTBoo    (nr__) ! (0.1nm) Equivalent width for ST Boo
      real*4        lognSTBoo  (nr__) ! ([Sun]) Abundance for ST Boo
      real*4        EWSWAnd    (nr__) ! (0.1nm) Equivalent width for SW And
      real*4        lognSWAnd  (nr__) ! ([Sun]) Abundance for SW And
      real*4        EWUUCet    (nr__) ! (0.1nm) Equivalent width for UU Cet
      real*4        lognUUCet  (nr__) ! ([Sun]) Abundance for UU Cet
      real*4        EWV440Sgr  (nr__) ! (0.1nm) Equivalent width for V440 Sgr
      real*4        lognV440Sgr(nr__) ! ([Sun]) Abundance for V440 Sgr
      real*4        EWV445Oph  (nr__) ! (0.1nm) Equivalent width for V445 Oph
      real*4        lognV445Oph(nr__) ! ([Sun]) Abundance for V445 Oph
      real*8        EWVXHer    (nr__) ! (0.1nm) Equivalent width for VX Her
      real*4        lognVXHer  (nr__) ! ([Sun]) Abundance for VX Her
      real*8        EWVYSer    (nr__) ! (0.1nm) Equivalent width for VY Ser
      real*4        lognVYSer  (nr__) ! ([Sun]) Abundance for VY Ser
      real*8        EWXAri     (nr__) ! (0.1nm) Equivalent width for X Ari
      real*4        lognXAri   (nr__) ! ([Sun]) Abundance for X Ari

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

C  Loading file 'table3.dat'	! List of lines and adopted gf values and their
*                                equivalent widths

C  Format for file interpretation

    1 format(
     +  A6,1X,F7.2,1X,F6.2,1X,F6.2,1X,F6.1,1X,F5.2,1X,F6.1,1X,F5.2,1X,
     +  F6.1,1X,F5.2,1X,F6.1,1X,F5.2,1X,F6.1,1X,F5.2,1X,F6.1,1X,F5.2,
     +  1X,F6.1,1X,F5.2,F7.1,F6.2,F7.1,F6.2,F7.1,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,290
        read(1,'(A158)')ar__
        read(ar__,1)
     +  Element(i__),Lambda(i__),EP(i__),loggf(i__),EWRRCet(i__),
     +  lognRRCet(i__),EWRRLyr(i__),lognRRLyr(i__),EWSTBoo(i__),
     +  lognSTBoo(i__),EWSWAnd(i__),lognSWAnd(i__),EWUUCet(i__),
     +  lognUUCet(i__),EWV440Sgr(i__),lognV440Sgr(i__),EWV445Oph(i__),
     +  lognV445Oph(i__),EWVXHer(i__),lognVXHer(i__),EWVYSer(i__),
     +  lognVYSer(i__),EWXAri(i__),lognXAri(i__)
c    ..............Just test output...........
        write(6,1)
     +  Element(i__),Lambda(i__),EP(i__),loggf(i__),EWRRCet(i__),
     +  lognRRCet(i__),EWRRLyr(i__),lognRRLyr(i__),EWSTBoo(i__),
     +  lognSTBoo(i__),EWSWAnd(i__),lognSWAnd(i__),EWUUCet(i__),
     +  lognUUCet(i__),EWV440Sgr(i__),lognV440Sgr(i__),EWV445Oph(i__),
     +  lognV445Oph(i__),EWVXHer(i__),lognVXHer(i__),EWVYSer(i__),
     +  lognVYSer(i__),EWXAri(i__),lognXAri(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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