FORTRAN Generation
(/./ftp/cats/J/A_A/534/A9)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/534/A9 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-16
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/534/A9  Synthetic spectra of galactic globular clusters  (Sbordone+, 2011)
*================================================================================
*Photometric signatures of multiple stellar populations in Galactic globular
*clusters.
*    Sbordone L., Salaris M., Weiss A., Cassisi S.
*   <Astron. Astrophys. 534, A9 (2011)>
*   =2011A&A...534A...9S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! Abundances for all elements in the considered
                             mixtures

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

      integer*4     Z          (nr__) ! Atomic number
      character*2   El         (nr__) ! Element
      real*4        fMass      (nr__) ! Reference fractional mass for Y=0.246
*                                     (Z=9.9937e-04)
      real*4        v_El_      (nr__) ! Reference abundance of element
*                                     (logN(El)-logN(H)+12)) for Y=0.246
      real*4        fMass1     (nr__) ! Fractional mass for CNONa1, Y=0.246
*                                     (Z=1.8343e-03)
      real*4        v_El_1     (nr__) ! Abundance of element (logN(El)-logN(H)+12)
*                                     for CNONa1, Y=0.246
      real*8        v_El_1__El_(nr__) ! Difference between this mixture [El] and
*                                     reference mixture [El] for CNONa1, Y=0.246
      real*4        fMass2     (nr__) ! Fractional mass for CNONa1, Y=0.400
*                                     (Z=1.4597e-03)
      real*4        v_El_2     (nr__) ! Abundance of element (logN(El)-logN(H)+12)
*                                     for CNONaI, Y=0.400
      real*8        v_El_2__El_(nr__) ! Difference between this mixture [El] and
*                                     reference mixture [El] for CNONa1, Y=0.400
      real*4        fMass3     (nr__) ! Fractional mass for CNONa2, Y=0.246
*                                     (Z=9.9937e-04)
      real*4        v_El_3     (nr__) ! Abundance of element (logN(El)-logN(H)+12)
*                                     for CNONa2, Y=0.246
      real*8        v_El_3__El_(nr__) ! Difference between this mixture [El] and
*                                     reference mixture [El] for CNONa2, Y=0.246

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

C  Loading file 'tablea1.dat'	! Abundances for all elements in the considered
*                             mixtures

C  Format for file interpretation

    1 format(
     +  I2,1X,A2,1X,E10.5,1X,F6.3,1X,E10.5,1X,F6.3,1X,F7.4,1X,E10.5,
     +  1X,F6.3,1X,F7.4,1X,E10.5,1X,F6.3,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,99
        read(1,'(A101)')ar__
        read(ar__,1)
     +  Z(i__),El(i__),fMass(i__),v_El_(i__),fMass1(i__),v_El_1(i__),
     +  v_El_1__El_(i__),fMass2(i__),v_El_2(i__),v_El_2__El_(i__),
     +  fMass3(i__),v_El_3(i__),v_El_3__El_(i__)
c    ..............Just test output...........
        write(6,1)
     +  Z(i__),El(i__),fMass(i__),v_El_(i__),fMass1(i__),v_El_1(i__),
     +  v_El_1__El_(i__),fMass2(i__),v_El_2(i__),v_El_2__El_(i__),
     +  fMass3(i__),v_El_3(i__),v_El_3__El_(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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