FORTRAN Generation
(/./ftp/cats/J/ApJS/126/461)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/126/461 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.5, on 2013-May-23
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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/ApJS/126/461   Equivalent Widths in the Spectrum of Sirius       (Zhao+, 2000)
*================================================================================
*Equivalent Widths in the Spectrum of Sirius
*     Zhao G., Qiu H.M., Chen Y.Q., Li Z.W.
*    <Astrophys. J. Suppl. 126, 461 (2000)>
*    =2000ApJS..126..461Z
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Equivalent Widths of Sirius

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

      character*5   Ion        (nr__) ! Element and ionization stage
      integer*4     Num        (nr__) ! Multiplet number
      real*8        Lambda     (nr__) ! (0.1nm) Wavelength
      real*4        LEP        (nr__) ! (eV) Lower excitation potential
      real*4        EW         (nr__) ! (0.1pm) Measured equivalent width from Sirius
*                                         spectrum
      integer*4     q_EW       (nr__) ! *Quality of line profile
*Note on q_EW:
*  The flags only give readers a rough estimation of line quality.  Different
*  people may adopt a slightly different opinion for the choice of flag number.
*  The flag numbers 1-3 are recommended to be used in accurate abundance
*  determinations.
*     1=perfect
*     2=good
*     3=slightly blended
*     4=mildly blended
*     5=blended

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

C  Loading file 'table2.dat'	! Equivalent Widths of Sirius

C  Format for file interpretation

    1 format(A5,1X,I4,1X,F9.4,1X,F5.2,1X,F5.1,1X,I1)

C  Effective file loading

      open(unit=1,file='table2.dat', status='old')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,546
        read(1,'(A34)')ar__
        read(ar__,1)
     +  Ion(i__),Num(i__),Lambda(i__),LEP(i__),EW(i__),q_EW(i__)
c    ..............Just test output...........
        write(6,1)
     +  Ion(i__),Num(i__),Lambda(i__),LEP(i__),EW(i__),q_EW(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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