FORTRAN Generation
(/./ftp/cats/J/ApJ/838/44)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/838/44 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/ApJ/838/44    Abundances of the brightest member of Tuc III    (Hansen+, 2017)
*================================================================================
*An r-process enhanced star in the dwarf galaxy Tucana III.
*    Hansen T.T., Simon J.D., Marshall J.L., Li T.S., Carollo D., Depoy D.L.,
*    Nagasawa D.Q., Bernstein R.A., Drlica-Wagner A., Abdalla F.B., Allam S.,
*    Annis J., Bechtol K., Benoit-Levy A., Brooks D., Buckley-Geer E.,
*    Carnero Rosell A., Carrasco Kind M., Carretero J., Cunha C.E.,
*    da Costa L.N., Desai S., Eifler T.F., Fausti Neto A., Flaugher B.,
*    Frieman J., Garcia-Bellido J., Gaztanaga E., Gerdes D.W., Gruen D.,
*    Gruendl R.A., Gschwend J., Gutierrez G., James D.J., Krause E., Kuehn K.,
*    Kuropatkin N., Lahav O., Miquel R., Plazas A.A., Romer A.K., Sanchez E.,
*    Santiago B., Scarpine V., Smith R.C., Soares-Santos M., Sobreira F.,
*    Suchyta E., Swanson M.E.C., Tarle G., Walker A.R., (the DES Collaboration)
*   <Astrophys. J., 838, 44-44 (2017)>
*   =2017ApJ...838...44H    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Fe I and Fe II lines used for parameter determination

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

      character*5   Species     ! Species
      real*8        lambda      ! (0.1nm) [3743.3/6750.2] Species wavelength, Angstroms
      real*4        ExPot       ! (eV) [0/4.5] Excitation potential
      real*4        log_gf      ! ([-]) [-5/0.6] Log of the oscillator strength
      real*4        EW          ! (10-13m) [10/215.5] Equivalent Width, Species,
*                                   milli-Angstroms
      real*4        logeps      ! ([-]) [4.7/5.7] Log {epsilon} abundance

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

C  Declarations for 'table2.dat'	! Atomic line data

      integer*4 nr__1
      parameter (nr__1=126)	! Number of records
      character*24 ar__1  	! Full-size record

      character*5   Species_1   ! Species
      real*8        lambda_1    ! (0.1nm) [3768.4/7699] Species wavelength, Angstroms
      real*4        ExPot_1     ! (eV) [0/4.4] Excitation potential
      real*4        log_gf_1    ! ([-]) [-9.8/0.6] Log of the oscillator strength

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

C  Loading file 'table1.dat'	! Fe I and Fe II lines used for parameter determination

C  Format for file interpretation

    1 format(A5,1X,F7.2,1X,F4.2,1X,F6.3,1X,F5.1,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,145
        read(1,'(A36)')ar__
        read(ar__,1)Species,lambda,ExPot,log_gf,EW,logeps
c    ..............Just test output...........
        write(6,1)Species,lambda,ExPot,log_gf,EW,logeps
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Atomic line data

C  Format for file interpretation

    2 format(A5,1X,F7.2,1X,F4.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,126
        read(1,'(A24)')ar__1
        read(ar__1,2)Species_1,lambda_1,ExPot_1,log_gf_1
c    ..............Just test output...........
        write(6,2)Species_1,lambda_1,ExPot_1,log_gf_1
c    .......End.of.Just test output...........
      end do
      close(1)

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