Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/287/927 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 2026-May-18
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/287/927 Abundances for lines of n-capture in 19 stars (Gratton+ 1994)
*================================================================================
*Abundances of neutron-capture elements in metal-poor stars
* GRATTON R.G., SNEDEN C.
* <Astron. Astrophys. 287, 927 (1994)>
* =1994A&A...287..927G
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3' ! Equivalent widths and abundances for lines of
n-capture elements in 19 metal-poor stars
integer*4 nr__
parameter (nr__=1311) ! Number of records
character*60 ar__ ! Full-size record
character*9 HD ! HD name
character*6 E ! Element
real*8 W ! (0.1nm) Wavelength
real*4 EP ! (eV) Potential energy
real*4 log_gf ! Oscillator strength
character*1 l_EW ! Limit flag on equivalent width
real*4 EW ! (0.1pm) []? Equivalent width
character*1 n ! [ s] When s, the line was saturated
character*1 l_log_A ! Limit flag on abundance
real*4 log_A ! []? Abundance
C=============================================================================
C Loading file 'table3' ! Equivalent widths and abundances for lines of
* n-capture elements in 19 metal-poor stars
C Format for file interpretation
1 format(A9,1X,A6,5X,F7.2,3X,F4.2,2X,F5.2,1X,A1,F5.1,A1,A1,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table3')
write(6,*) '....Loading file: table3'
do i__=1,1311
read(1,'(A60)')ar__
read(ar__,1)HD,E,W,EP,log_gf,l_EW,EW,n,l_log_A,log_A
if(ar__(45:49) .EQ. '') EW = rNULL__
if(ar__(52:56) .EQ. '') log_A = rNULL__
c ..............Just test output...........
write(6,1)HD,E,W,EP,log_gf,l_EW,EW,n,l_log_A,log_A
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end