FORTRAN Generation
(/./ftp/cats/J/ApJ/711/350)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/711/350 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 2024-Mar-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/ApJ/711/350        Metal-poor giant Boo-1137 abundances        (Norris+, 2010)
*================================================================================
*Boo-1137--an extremely metal-poor star in the ultra-faint dwarf spheroidal
*galaxy Bootes I.
*    Norris J.E., Yong D., Gilmore G., Wyse R.F.G.
*   <Astrophys. J., 711, 350-360 (2010)>
*   =2010ApJ...711..350N
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Averaged equivalent widths, upper limits, and
                             line-by-line abundances of Boo-1137

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

      character*5   Ion        (nr__) ! Species identification
      real*8        lambda     (nr__) ! (0.1nm) Wavelength in {AA}
      real*4        chi        (nr__) ! (eV) Lower excitation potential (1)
      real*4        loggf      (nr__) ! Oscillator strength (1)
      character*1   f_loggf    (nr__) ! [a] a: loggf from VALD
      real*4        EW         (nr__) ! (0.1pm) Equivalent width in m{AA}
      real*4        log_e      (nr__) ! ([-]) {epsilon} abundance [log(Ion/H)+12]
*Note (1): Lower excitation potentials, {chi}, and loggf values are taken
*          preferentially from Table 3 of Cayrel et al. (2004,
*          Cat. J/A+A/416/1117), and supplemented by material from the Vienna
*          Atomic Line Database (VALD) database (if flagged in column f_loggf).

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

C  Loading file 'table1.dat'	! Averaged equivalent widths, upper limits, and
*                             line-by-line abundances of Boo-1137

C  Format for file interpretation

    1 format(A5,1X,F8.3,1X,F4.2,1X,F5.2,1X,A1,1X,F5.1,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,154
        read(1,'(A39)')ar__
        read(ar__,1)
     +  Ion(i__),lambda(i__),chi(i__),loggf(i__),f_loggf(i__),EW(i__),
     +  log_e(i__)
c    ..............Just test output...........
        write(6,1)
     +  Ion(i__),lambda(i__),chi(i__),loggf(i__),f_loggf(i__),EW(i__),
     +  log_e(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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