FORTRAN Generation
(/./ftp/cats/J/A_A/591/A37)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/591/A37 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/591/A37  Gaia-ESO Survey. Parameters for cluster members (Jacobson+, 2016)
*================================================================================
*The Gaia-ESO Survey: Probes of the inner disk abundance gradient.
*    Jacobson H.R., Friel E.D., Jilkova L., Magrini L., Bragaglia A.,
*    Vallenari A., Tosi M., Randich S., Donati P., Cantat-Gaudin T., Sordo R.,
*    Smiljanic R., Overbeek J.C., Carraro G., Tautvaisiene G., San Roman I.,
*    Villanova S., Geisler D., Munoz C., Jimenez-Esteban F., Tang B.,
*    Gilmore G., Alfaro E.J., Bensby T., Flaccomio E., Koposov S.E.,
*    Korn A.J., Pancino E., Recio-Blanco A., Casey A.R., Costado M.T.,
*    Franciosini E., Heiter U., Hill V., Hourihane A., Lardo C., de Laverny P.,
*    Lewis J., Monaco L., Morbidelli L., Sacco G.G., Sousa S.G., Worley C.C.,
*    Zaggia S.
*    <Astron. Astrophys. 591, A37 (2016)>
*    =2016A&A...591A..37J        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Parameters for 155 stars in 12 open clusters

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

C  J2000.0 position composed of: RAdeg DEdeg
      character*10  Cluster     ! Cluster name
      character*16  Star        ! GES ID (HHMMSSss+DDMMSSs)
      real*8        RAdeg       ! (deg) Right ascension (J2000.0)
      real*8        DEdeg       ! (deg) Declination (J2000.0)
      real*4        v_Fe_H_     ! ([-]) Metallicity
      real*4        e__Fe_H_    ! ([-]) Uncertainty on [Fe/H]
      integer*4     Teff        ! (K) Effective temperature
      integer*4     e_Teff      ! (K) Uncertainty on Teff
      real*4        logg        ! ([cm/s2]) Surface gravity
      real*4        e_logg      ! ([cm/s2]) Uncertainty on surface gravity
      real*4        RV          ! (km/s) Radial velocity

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

C  Loading file 'table2.dat'	! Parameters for 155 stars in 12 open clusters

C  Format for file interpretation

    1 format(
     +  A10,2X,A16,2X,F11.7,2X,F11.7,2X,F5.2,2X,F4.2,2X,I4,2X,I3,2X,
     +  F4.2,2X,F4.2,2X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,155
        read(1,'(A97)')ar__
        read(ar__,1)
     +  Cluster,Star,RAdeg,DEdeg,v_Fe_H_,e__Fe_H_,Teff,e_Teff,logg,
     +  e_logg,RV
c    ..............Just test output...........
        write(6,1)
     +  Cluster,Star,RAdeg,DEdeg,v_Fe_H_,e__Fe_H_,Teff,e_Teff,logg,
     +  e_logg,RV
c    .......End.of.Just test output...........
      end do
      close(1)

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