Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/604/A35 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-10
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/604/A35 NGC104 RGB Na, Mg, and K abundances (Cerniauskas+, 2017)
*================================================================================
*Abundances of Na, Mg, and K in the atmospheres of RGB stars of Galactic globular
*cluster 47 Tucanae.
* Cerniauskas A., Kucinskas A., Klevas J., Prakapavicius D., Korotin S.,
* Bonifacio P., Ludwig H.-G., Caffau E., Steffen M.
* <Astron. Astrophys. 604, A35 (2017)>
* =2017A&A...604A..35C (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea1.dat' ! Target RGB stars in 47 Tuc, their atmospheric
parameters, and determined abundances of
Na, Mg and K
integer*4 nr__
parameter (nr__=32) ! Number of records
character*87 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*10 ID ! Star name (N104-SNNNN)
real*8 RAdeg ! (deg) Right ascension (J2000)
real*8 DEdeg ! (deg) Declination (J2000)
real*4 Vmag ! (mag) [12.99/14.25] V magnitude
real*4 Imag ! (mag) [11.75/13.17] I magnitude
integer*4 Teff ! (K) [4390/4720] Effective temperature
real*4 logg ! ([cm/s2]) [1.6/2.3] Surface gravity
real*4 RV ! ([km/s]) Radial velocity
real*4 v_Na_Fe_ ! ([-]) ? 1D NLTE sodium abundance (1)
real*4 e__Na_Fe_ ! ([-]) ? Error of sodium abundance
real*4 v_Mg_Fe_ ! ([-]) ? 1D NLTE magnesium abundance (1)
real*4 e__Mg_Fe_ ! ([-]) ? Error of magnesium abundance
real*4 v_K_Fe_ ! ([-]) ? 1D NLTE potassium abundance (1)
real*4 e__K_Fe_ ! ([-]) ? Error of potassium abundance
*Note (1): The abundances were derived assuming identical microturbulence
* velocity of 1.5km/s for all stars; A(H)=12.4.
C=============================================================================
C Loading file 'tablea1.dat' ! Target RGB stars in 47 Tuc, their atmospheric
* parameters, and determined abundances of
* Na, Mg and K
C Format for file interpretation
1 format(
+ A10,1X,F7.5,1X,F9.5,1X,F5.2,1X,F5.2,1X,I4,1X,F4.2,1X,F5.1,1X,
+ F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'tablea1.dat')
write(6,*) '....Loading file: tablea1.dat'
do i__=1,32
read(1,'(A87)')ar__
read(ar__,1)
+ ID,RAdeg,DEdeg,Vmag,Imag,Teff,logg,RV,v_Na_Fe_,e__Na_Fe_,
+ v_Mg_Fe_,e__Mg_Fe_,v_K_Fe_,e__K_Fe_
if(ar__(58:61) .EQ. '') v_Na_Fe_ = rNULL__
if(ar__(63:66) .EQ. '') e__Na_Fe_ = rNULL__
if(ar__(68:71) .EQ. '') v_Mg_Fe_ = rNULL__
if(ar__(73:76) .EQ. '') e__Mg_Fe_ = rNULL__
if(ar__(78:82) .EQ. '') v_K_Fe_ = rNULL__
if(ar__(84:87) .EQ. '') e__K_Fe_ = rNULL__
c ..............Just test output...........
write(6,1)
+ ID,RAdeg,DEdeg,Vmag,Imag,Teff,logg,RV,v_Na_Fe_,e__Na_Fe_,
+ v_Mg_Fe_,e__Mg_Fe_,v_K_Fe_,e__K_Fe_
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end