FORTRAN Generation
(/./ftp/cats/J/A_A/604/A128)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/604/A128 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/604/A128      S abundances for 1301 stars from GES       (Duffau+, 2017)
*================================================================================
*The Gaia-ESO Survey: Galactic evolution of sulphur and zinc.
*    Duffau S., Caffau E., Sbordone L., Bonifacio P., Andrievsky S.,
*    Korotin S., Babusiaux C., Salvadori S., Monaco L., Francois P.,
*    Skuladottir A., Bragaglia A., Donati P., Spina L., Gallagher A.J.,
*    Ludwig H.-G., Christlieb N., Hansen C.J., Mott A., Steffen M., Zaggia S.,
*    Blanco-Cuaresma S., Calura F., Friel E., Jimenez-Esteban F.M., Koch A.,
*    Magrini L., Pancino E., Tang B., Tautvaisiene G., Vallenari A.,
*    Hawkins K., Gilmore G., Randich S., Feltzing S., Bensby T., Flaccomio E.,
*    Smiljanic R., Bayo A., Carraro G., Casey A. R., Costado M. T., Damiani F.,
*    Franciosini E., Hourihane A., Jofre P., Lardo C., Lewis J., Morbidelli L.,
*    Sousa S.G., Worley C.C.
*    <Astron. Astrophys. 604, A128 (2017)>
*    =2017A&A...604A.128D        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'ges_s_du.dat'	! Sulphur abundances

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

      character*16  Cname       ! GES star unique identifier (HHMMSSss+DDMMSSs)
      real*8        A_S         ! Sulphur abundance (LTE)
      real*4        NLTEc       ! NLTE corrections

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

C  Loading file 'ges_s_du.dat'	! Sulphur abundances

C  Format for file interpretation

    1 format(A16,2X,F7.4,2X,E10.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'ges_s_du.dat')
      write(6,*) '....Loading file: ges_s_du.dat'
      do i__=1,1301
        read(1,'(A37)')ar__
        read(ar__,1)Cname,A_S,NLTEc
c    ..............Just test output...........
        write(6,1)Cname,A_S,NLTEc
c    .......End.of.Just test output...........
      end do
      close(1)

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