FORTRAN Generation
(/./ftp/cats/J/A_A/598/A5)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/598/A5 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/598/A5           Gaia-ESO Survey iDR4 calibrators         (Pancino+, 2017)
*================================================================================
*The Gaia-ESO Survey: calibration strategy.
*    Pancino E., Lardo C., Altavilla G., Marinoni S., Ragaini S., Cocozza G.,
*    Bellazzini M., Sabbi E., Zoccali M., Donati P., Heiter U., Koposov S.E.,
*    Blomme R., Morel T., Simon-Diaz S., Lobel A., Soubiran C., Montalban J.,
*    Valentini M., Casey A.R., Blanco-Cuaresma S., Jofre P., Worley C.C.,
*    Magrini L., Hourihane A., Francois P., Feltzing S., Gilmore G., Randich S.,
*    Asplund M., Bonifacio P., Drew J.E., Jeffries R.D., Micela G., Vallenari A.,
*    Alfaro E.J., Allende Prieto C., Babusiaux C., Bensby T., Bragaglia A.,
*    Flaccomio E., Hambly N., Korn A.J., Lanzafame A.C., Smiljanic R.,
*    Van Eck S., Walton N.A., Bayo A., Carraro G., Costado M.T., Damiani F.,
*    Edvardsson B., Franciosini E., Frasca A., Lewis J., Monaco L.,
*    Morbidelli L., Prisinzano L., Sacco G.G., Sbordone L., Sousa S.G.,
*    Zaggia S., Koch A. (Gaia-ESO collaboration)
*    <Astron. Astrophys. 598, A5 (2017)>
*    =2017A&A...598A...5P        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! List of GES iDR4 calibrators

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

      character*16  CName       ! Unique GES iDR4 target name, based on object
*                                   coordinates (HHMMSSss+DDMMSSs) (1)
      character*2   Type        ! Calibrator type (2)
      character*12  Field       ! Field or object name
      real*4        Jmag        ! (mag) ?=-9.99 J magnitude from 2MASS (3)
      real*4        Kmag        ! (mag) ?=-9.99 K magnitude from 2MASS (3)
*Note (1): No CName for the Sun.
*Note (2): Calibrator type has follows:
*           CR = CoRoT targets
*           GC = Globular cluster star
*           OC = Open cluster star
*           RV = Radial velocity standard star
*           BM = Gaia benchmark star
*Note (3): The 2MASS magnitude is not available for all calibrators.

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

C  Loading file 'table2.dat'	! List of GES iDR4 calibrators

C  Format for file interpretation

    1 format(A16,2X,A2,2X,A12,1X,F6.2,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,1970
        read(1,'(A48)')ar__
        read(ar__,1)CName,Type,Field,Jmag,Kmag
c    ..............Just test output...........
        write(6,1)CName,Type,Field,Jmag,Kmag
c    .......End.of.Just test output...........
      end do
      close(1)

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