FORTRAN Generation
(/./ftp/cats/J/A_A/440/1153)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/440/1153 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/440/1153      Equivalent widths of 7 thin-disk stars   (del Peloso+, 2005)
*================================================================================
*The age of the Galactic thin disk from Th/Eu nucleocosmochronology.
*III. Extended sample.
*    del Peloso E.F., da Silva L., Arany-Prado L.I.
*   <Astron. Astrophys. 440, 1153 (2005)>
*   =2005A&A...440.1153D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table5.dat'	! Equivalent widths for all lines and sample stars

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

      real*8        Lambda      ! (0.1nm) Wavelength of line
      character*3   Element     ! Element symbol and ionization state
      real*4        EP          ! (eV) Lower excitation potential
      real*4        Loggf       ! Logarithm of oscillator strength
      real*4        EW0         ! (0.1pm) Equivalent width in the Sun
      real*4        EW1         ! (0.1pm) ?=0.00 Equivalent width in HD 1461
      real*4        EW2         ! (0.1pm) ?=0.00 Equivalent width in HD 157089
      real*4        EW3         ! (0.1pm) ?=0.00 Equivalent width in HD 162396
      real*4        EW4         ! (0.1pm) ?=0.00 Equivalent width in HD 189567
      real*4        EW5         ! (0.1pm) ?=0.00 Equivalent width in HD 193307
      real*4        EW6         ! (0.1pm) ?=0.00 Equivalent width in HD 196755
      real*4        EW7         ! (0.1pm) ?=0.00 Equivalent width in HD 201918

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

C  Loading file 'table5.dat'	! Equivalent widths for all lines and sample stars

C  Format for file interpretation

    1 format(
     +  F8.3,1X,A3,1X,F4.2,1X,F6.3,1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,
     +  F5.1,1X,F5.1,1X,F5.1,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,155
        read(1,'(A72)')ar__
        read(ar__,1)
     +  Lambda,Element,EP,Loggf,EW0,EW1,EW2,EW3,EW4,EW5,EW6,EW7
c    ..............Just test output...........
        write(6,1)
     +  Lambda,Element,EP,Loggf,EW0,EW1,EW2,EW3,EW4,EW5,EW6,EW7
c    .......End.of.Just test output...........
      end do
      close(1)

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