FORTRAN Generation
(/./ftp/cats/J/A_A/572/A33)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/572/A33 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 2026-May-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/572/A33       Abundances from Gaia-ESO Survey          (Mikolaitis+, 2014)
*================================================================================
*The Gaia-ESO Survey: the chemical structure of the Galactic discs from the
*first internal data release.
*    Mikolaitis S., Hill V., Recio-Blanco A., de Laverny P., Allende Prieto C.,
*    Kordopatis G., Tautvaisiene G., Romano D., Gilmore G., Randich S.,
*    Feltzing S., Micela G., Vallenari A., Alfaro E.J., Bensby T., Bragaglia A.,
*    Flaccomio E., Lanzafame A.C., Pancino E., Smiljanic R., Bergemann M.,
*    Carraro G., Costado M.T., Damiani F., Hourihane A., Jofre P., Lardo C.,
*    Magrini L., Maiorca E., Morbidelli L., Sbordone L., Sousa S.G., Worley C.C.,
*    Zaggia S.
*   <Astron. Astrophys. 572, A33 (2014)>
*   =2014A&A...572A..33M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Abundances of 1916 stars

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

      integer*4     ID         (nr__) ! [1/1916] Identification number
      character*16  CName      (nr__) ! Target Name in the Gaia-ESO archive,
*                                   HHMMSSss+DDMMSSs
      character*15  Name       (nr__) ! Object Name in the Gaia-ESO archive
      real*4        A_Mg1      (nr__) ! ([-]) [6.0/8.0]? MgI abundance, 12+log(N/H)
      real*4        e_A_Mg1    (nr__) ! ([-]) ? rms uncertainty of Mg1 abundance
      real*4        A_Al1      (nr__) ! ([-]) [5.2/7.0]? AlI abundance, 12+log(N/H)
      real*4        e_A_Al1    (nr__) ! ([-]) ? rms uncertainty of Al1 abundance
      real*4        A_Si1      (nr__) ! ([-]) [5.9/8.2]? SiI abundance, 12+log(N/H)
      real*4        e_A_Si1    (nr__) ! ([-]) ? rms uncertainty of Si1 abundance
      real*4        A_Ca1      (nr__) ! ([-]) [3.7/6.9]? CaI abundance, 12+log(N/H)
      real*4        e_A_Ca1    (nr__) ! ([-]) ? rms uncertainty of Ca1 abundance
      real*4        A_Ca2      (nr__) ! ([-]) [3.7/6.8]? CaII abundance, 12+log(N/H)
      real*4        e_A_Ca2    (nr__) ! ([-]) ? rms uncertainty of Ca2 abundance
      real*4        A_Ti1      (nr__) ! ([-]) [3.2/5.4]? TiI abundance, 12+log(N/H)
      real*4        e_A_Ti1    (nr__) ! ([-]) ? rms uncertainty of Ti1 abundance
      real*4        A_Ti2      (nr__) ! ([-]) [3.4/5.6]? TiII abundance, 12+log(N/H)
      real*4        e_A_Ti2    (nr__) ! ([-]) ? rms uncertainty of Ti2 abundance
      real*4        A_Cr1      (nr__) ! ([-]) [2.8/6.1]? CrI abundance, 12+log(N/H)
      real*4        e_A_Cr1    (nr__) ! ([-]) ? rms uncertainty of Cr1 abundance
      real*4        A_Ni1      (nr__) ! ([-]) [4.5/6.9]? NiI abundance, 12+log(N/H)
      real*4        e_A_Ni1    (nr__) ! ([-]) ? rms uncertainty of Ni1 abundance
      real*4        A_Y2       (nr__) ! ([-]) [-0.2/3]?  YII abundance, 12+log(N/H)
      real*4        e_A_Y2     (nr__) ! ([-]) ? rms uncertainty of  Y2 abundance

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

C  Loading file 'table2.dat'	! Abundances of 1916 stars

C  Format for file interpretation

    1 format(
     +  I4,1X,A16,1X,A15,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,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=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,1916
        read(1,'(A156)')ar__
        read(ar__,1)
     +  ID(i__),CName(i__),Name(i__),A_Mg1(i__),e_A_Mg1(i__),
     +  A_Al1(i__),e_A_Al1(i__),A_Si1(i__),e_A_Si1(i__),A_Ca1(i__),
     +  e_A_Ca1(i__),A_Ca2(i__),e_A_Ca2(i__),A_Ti1(i__),e_A_Ti1(i__),
     +  A_Ti2(i__),e_A_Ti2(i__),A_Cr1(i__),e_A_Cr1(i__),A_Ni1(i__),
     +  e_A_Ni1(i__),A_Y2(i__),e_A_Y2(i__)
        if(ar__(38:42) .EQ. '') A_Mg1(i__) = rNULL__
        if(ar__(44:48) .EQ. '') e_A_Mg1(i__) = rNULL__
        if(ar__(50:54) .EQ. '') A_Al1(i__) = rNULL__
        if(ar__(56:60) .EQ. '') e_A_Al1(i__) = rNULL__
        if(ar__(62:66) .EQ. '') A_Si1(i__) = rNULL__
        if(ar__(68:72) .EQ. '') e_A_Si1(i__) = rNULL__
        if(ar__(74:78) .EQ. '') A_Ca1(i__) = rNULL__
        if(ar__(80:84) .EQ. '') e_A_Ca1(i__) = rNULL__
        if(ar__(86:90) .EQ. '') A_Ca2(i__) = rNULL__
        if(ar__(92:96) .EQ. '') e_A_Ca2(i__) = rNULL__
        if(ar__(98:102) .EQ. '') A_Ti1(i__) = rNULL__
        if(ar__(104:108) .EQ. '') e_A_Ti1(i__) = rNULL__
        if(ar__(110:114) .EQ. '') A_Ti2(i__) = rNULL__
        if(ar__(116:120) .EQ. '') e_A_Ti2(i__) = rNULL__
        if(ar__(122:126) .EQ. '') A_Cr1(i__) = rNULL__
        if(ar__(128:132) .EQ. '') e_A_Cr1(i__) = rNULL__
        if(ar__(134:138) .EQ. '') A_Ni1(i__) = rNULL__
        if(ar__(140:144) .EQ. '') e_A_Ni1(i__) = rNULL__
        if(ar__(146:150) .EQ. '') A_Y2(i__) = rNULL__
        if(ar__(152:156) .EQ. '') e_A_Y2(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  ID(i__),CName(i__),Name(i__),A_Mg1(i__),e_A_Mg1(i__),
     +  A_Al1(i__),e_A_Al1(i__),A_Si1(i__),e_A_Si1(i__),A_Ca1(i__),
     +  e_A_Ca1(i__),A_Ca2(i__),e_A_Ca2(i__),A_Ti1(i__),e_A_Ti1(i__),
     +  A_Ti2(i__),e_A_Ti2(i__),A_Cr1(i__),e_A_Cr1(i__),A_Ni1(i__),
     +  e_A_Ni1(i__),A_Y2(i__),e_A_Y2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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