Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/287/927 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 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 (nr__) ! HD name
character*6 E (nr__) ! Element
real*8 W (nr__) ! (0.1nm) Wavelength
real*4 EP (nr__) ! (eV) Potential energy
real*4 log_gf (nr__) ! Oscillator strength
character*1 l_EW (nr__) ! Limit flag on equivalent width
real*4 EW (nr__) ! (0.1pm) []? Equivalent width
character*1 n (nr__) ! [ s] When s, the line was saturated
character*1 l_log_A (nr__) ! Limit flag on abundance
real*4 log_A (nr__) ! []? 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(i__),E(i__),W(i__),EP(i__),log_gf(i__),l_EW(i__),EW(i__),
+ n(i__),l_log_A(i__),log_A(i__)
if(ar__(45:49) .EQ. '') EW(i__) = rNULL__
if(ar__(52:56) .EQ. '') log_A(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ HD(i__),E(i__),W(i__),EP(i__),log_gf(i__),l_EW(i__),EW(i__),
+ n(i__),l_log_A(i__),log_A(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end