Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/570/A22 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-Jun-08
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/570/A22 Heavy elements in old very metal-rich stars (Trevisan+, 2014)
*================================================================================
*Heavy elements in old very metal-rich stars.
* Trevisan M., Barbuy B.
* <Astron. Astrophys. 570, A22 (2014)>
* =2014A&A...570A..22T
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'abunds.dat' ! Stellar abundances in Fe, Y, Ba, La, Eu.
integer*4 nr__
parameter (nr__=71) ! Number of records
character*66 ar__ ! Full-size record
character*11 Name ! Star name
real*4 v_Fe_H_ ! ([Sun]) Abundance of Fe (1)
real*4 e__Fe_H_ ! ([Sun]) Error in abundance of Fe
real*4 v_Y_Fe_ ! ([Sun]) Y-to-Fe abundance ratio (1)
real*4 e__Y_Fe_ ! ([Sun]) ? Error in the Y-to-Fe ratio
real*4 v_Ba_Fe_ ! ([Sun]) Ba-to-Fe abundance ratio (1)
real*4 e__Ba_Fe_ ! ([Sun]) Error in the Ba-to-Fe ratio
real*4 v_La_Fe_ ! ([Sun]) La-to-Fe abundance ratio (1)
real*4 e__La_Fe_ ! ([Sun]) ? Error in the La-to-Fe ratio
real*4 v_Eu_Fe_ ! ([Sun]) ? Eu-to-Fe abundance ratio (1)
real*4 e__Eu_Fe_ ! ([Sun]) ? Error in the Eu-to-Fe ratio
*Note (1): the adopted solar abundances log{epsilon}(Z)_{sun}_ are:
* -------------------
* El Z Ab.{sun}
* -------------------
* Fe 26 7.50
* Y 39 2.24
* Ba 56 2.13
* La 57 1.22
* Eu 63 0.51
* -------------------
C=============================================================================
C Loading file 'abunds.dat' ! Stellar abundances in Fe, Y, Ba, La, Eu.
C Format for file interpretation
1 format(A11,F6.2,F5.2,F6.2,F5.2,F6.2,F5.2,F6.2,F5.2,F6.2,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'abunds.dat')
write(6,*) '....Loading file: abunds.dat'
do i__=1,71
read(1,'(A66)')ar__
read(ar__,1)
+ Name,v_Fe_H_,e__Fe_H_,v_Y_Fe_,e__Y_Fe_,v_Ba_Fe_,e__Ba_Fe_,
+ v_La_Fe_,e__La_Fe_,v_Eu_Fe_,e__Eu_Fe_
if(ar__(29:33) .EQ. '') e__Y_Fe_ = rNULL__
if(ar__(51:55) .EQ. '') e__La_Fe_ = rNULL__
if(ar__(56:61) .EQ. '') v_Eu_Fe_ = rNULL__
if(ar__(62:66) .EQ. '') e__Eu_Fe_ = rNULL__
c ..............Just test output...........
write(6,1)
+ Name,v_Fe_H_,e__Fe_H_,v_Y_Fe_,e__Y_Fe_,v_Ba_Fe_,e__Ba_Fe_,
+ v_La_Fe_,e__La_Fe_,v_Eu_Fe_,e__Eu_Fe_
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end