Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/580/A24 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-Jun-09
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/580/A24 Abundances in dwarfs, subgiants, and giants (da Silva+, 2015)
*================================================================================
*Homogeneous abundance analysis of FGK dwarf, subgiant, and giant stars with and
*without giant planets.
* da Silva R., Milone A.C., Rocha-Pinto H.J.
* <Astron. Astrophys. 580, A24 (2015)>
* =2015A&A...580A..24D
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Photospheric parameters and [X/Fe] abundances
integer*4 nr__
parameter (nr__=309) ! Number of records
character*254 ar__ ! Full-size record
character*10 Name (nr__) ! HD, BD, or HIP stellar number
character*8 SpType (nr__) ! Spectral type
real*4 Vbroad (nr__) ! (km/s) [0/15] Broadening velocity
integer*4 Teff (nr__) ! (K) [4169/6503] Star's effective temperature
integer*4 e_Teff (nr__) ! (K) [21/163] Error in star's effective temperature
real*4 logg (nr__) ! [1/5] Star's surface gravity
real*4 e_logg (nr__) ! [0.1/0.6] Error in the star's surface gravity
real*4 xi (nr__) ! (km/s) [0.03/5.6] Star's microturbulent velocity {xi}
real*4 e_xi (nr__) ! (km/s) [[0.03/3] Error in microturbulent velocity
real*4 v_Fe_H_ (nr__) ! ([Sun]) Abundance ratio [Fe/H]
real*4 e__Fe_H_ (nr__) ! ([Sun]) Error in [Fe/H]
real*4 v_C_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [C/Fe]
real*4 e__C_Fe_ (nr__) ! ([Sun]) ? Error in [C/Fe]
real*4 v_N_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [N/Fe]
real*4 e__N_Fe_ (nr__) ! ([Sun]) ? Error in [N/Fe]
real*4 v_O_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [O/Fe]
real*4 e__O_Fe_ (nr__) ! ([Sun]) ? Error in [O/Fe]
real*4 v_Na_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [Na/Fe]
real*4 e__Na_Fe_ (nr__) ! ([Sun]) ? Error in [Na/Fe]
real*4 v_Mg_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [Mg/Fe]
real*4 e__Mg_Fe_ (nr__) ! ([Sun]) ? Error in [Mg/Fe]
real*4 v_Si_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [Si/Fe]
real*4 e__Si_Fe_ (nr__) ! ([Sun]) ? Error in [Si/Fe]
real*4 v_Ca_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [Ca/Fe]
real*4 e__Ca_Fe_ (nr__) ! ([Sun]) ? Error in [Ca/Fe]
real*4 v_Ti_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [Ti/Fe]
real*4 e__Ti_Fe_ (nr__) ! ([Sun]) ? Error in [Ti/Fe]
real*4 v_V_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [V/Fe]
real*4 e__V_Fe_ (nr__) ! ([Sun]) ? Error in [V/Fe]
real*4 v_Mn_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [Mn/Fe]
real*4 e__Mn_Fe_ (nr__) ! ([Sun]) ? Error in [Mn/Fe]
real*4 v_Ni_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [Ni/Fe]
real*4 e__Ni_Fe_ (nr__) ! ([Sun]) ? Error in [Ni/Fe]
real*4 v_Cu_Fe_ (nr__) ! ([Sun]) ? Abundance ratio [Cu/Fe]
real*4 e__Cu_Fe_ (nr__) ! ([Sun]) ? Error in [Cu/Fe]
* J234-238 F5.2 [Sun] [Ba/Fe] ? Abundance ratio [Ba/Fe]
real*4 e__Ba_Fe_ (nr__) ! ([Sun]) ? Error in [Ba/Fe]
character*8 Class (nr__) ! ([Sun]) Spectral luinosity classification: dwarf,
* giant or subgiant
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table7.dat' ! Photometric and evolutionary parameters together
with the population membership
integer*4 nr__1
parameter (nr__1=309) ! Number of records
character*111 ar__1 ! Full-size record
character*10 Name_1 (nr__1) ! HD, BD, or HIP stellar number
real*4 B_V (nr__1) ! (mag) [0.47/1.3] B-V color index
real*4 VMag (nr__1) ! (mag) [-0.71/7.7] Absolute magnitude at the V band
real*4 Dist (nr__1) ! (pc) [3/100] Heliocentric distance
real*4 BC (nr__1) ! [-0.9/0.02] Bolometric correction
real*4 logL (nr__1) ! ([Lsun]) [-1/2.3] Logarithmic luminosity
real*4 e_logL (nr__1) ! ([Lsun]) [0.005/0.09] Error in the logarithmic luminosity
real*4 Mass (nr__1) ! (Msun) [0.6/3.6]? Mass of the star
real*4 e_Mass (nr__1) ! (Msun) [0.01/9.99]? Error in the stellar mass
real*4 Age (nr__1) ! (Gyr) [0.1/32]? Age of the star
real*4 e_Age (nr__1) ! (Gyr) [0/12]? Lower error in the stellar age
real*4 E_Age_1 (nr__1) ! (Gyr) [0/12]? Upper error in the stellar age
character*10 Popul (nr__1) ! Population membership (thin, thick or a
* transition population thin/thick)
character*8 Rem (nr__1) ! Remarks on some special cases (1)
character*3 Ref (nr__1) ! References related to the special cases (2)
*Note (1): The special cases are:
* a = errors in age are larger than 4Gyr (not used in the analysis)
* b = star located outside the evolutionary tracks and isochrones used
* c = star hosting at least one giant planet
* d = member of a stellar moving group:
* U: Ursa Major; P: Pleiades; H: Hyades; W: Wolf 630
* e = subdwarf candidate
*Note (2): The references for some of the special cases are as follows:
* 1 = http://exoplanet.eu, for case c
* 2 = Montes et al. (2001MNRAS.328...45M), for cases d (U), d (P)
* 3 = Sandage & Fouts (1986AJ.....91.1140S), for case e
* 4 = Eggen (1950ApJ...111...65E), for case d (H)
* 5 = Bubar & King (2010AJ....140..293B), for case d (W)
* 6 = Madsen et al. (2002A&A...381..446M), for case d (H)
* 7 = Jao et al. (2009AJ....137.3800J), for case e
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table8.dat' ! Slopes of the linear regressions on [X/Fe] vs. Tc
integer*4 nr__2
parameter (nr__2=120) ! Number of records
character*112 ar__2 ! Full-size record
character*10 Name_2 (nr__2) ! HD, BD, or HIP stellar number
real*8 slope0 (nr__2) ! Slope of the regressions before CCE (1)
real*8 e_slope0 (nr__2) ! Error in the slopes
real*4 r0 (nr__2) ! [-1/1] Correlation coefficient
real*4 std0 (nr__2) ! [0.01/0.15] Standard deviation of regressions
real*8 slope1 (nr__2) ! Slope of the regression after CCE, age-based (1)
real*8 e_slope1 (nr__2) ! Error in the slopes
real*4 r1 (nr__2) ! [-1/1] Correlation coefficient
real*4 std1 (nr__2) ! [0.02/0.15] Standard deviation of regressions
real*8 slope2 (nr__2) ! Slope of the regression after CCE,
* [Fe/H]-based (1)
real*8 e_slope2 (nr__2) ! Error in the slopes
real*4 r2 (nr__2) ! [-1/1] Correlation coefficient
real*4 std2 (nr__2) ! [0.01/0.13] Standard deviation of regressions
*Note (1): CCE = correction for the Galactic chemical evolution effects;
* the chemical correction is based on age or on metallicity ([Fe/H]).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Atomic line parameters and solar EWs
integer*4 nr__3
parameter (nr__3=178) ! Number of records
character*35 ar__3 ! Full-size record
real*8 lambda0 (nr__3) ! (0.1nm) [4518/6753] Spectral line central wavelength
character*4 Line (nr__3) ! Atomic line identification
real*4 chi (nr__3) ! (eV) [0/5.7] Lower-level excitation potential {chi}
real*4 loggf (nr__3) ! ? Logarithmic statistical weight of the lower
* level multiplied by the oscillator strength
real*4 EW (nr__3) ! (0.1pm) [5/122] Solar equivalent width (m{AA})
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Atomic parameters for lines with important
hyperfine structure
integer*4 nr__4
parameter (nr__4=109) ! Number of records
character*31 ar__4 ! Full-size record
character*4 Line_1 (nr__4) ! Atomic line identification
real*8 lambda0_1 (nr__4) ! (0.1nm) [4571/6286] Spectral line central wavelength
real*8 lambda (nr__4) ! (0.1nm) [4571/6286] Hyperfine component wavelength
real*4 loggf_1 (nr__4) ! Logarithmic statistical weight of the lower
* level multiplied by the oscillator strength
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Atomic and molecular line parameters
integer*4 nr__5
parameter (nr__5=9183) ! Number of records
character*43 ar__5 ! Full-size record
real*8 lambda0_2 (nr__5) ! (0.1nm) [4200/6315] Spectral line central wavelength
real*4 Line_2 (nr__5) ! Atomic and molecular line identification
real*4 chi_1 (nr__5) ! (eV) [0/40] Excitation potential {chi}
real*4 loggf_2 (nr__5) ! ([-]) Logarithmic statistical weight of the lower
* level multiplied by the oscillator strength
real*4 D0 (nr__5) ! (eV) ? Dissociation energy for molecular features
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Atomic parameters for strong atomic lines
integer*4 nr__6
parameter (nr__6=57) ! Number of records
character*34 ar__6 ! Full-size record
real*8 lambda0_3 (nr__6) ! (0.1nm) S[4200/6163] pectral line central wavelength
real*4 Line_3 (nr__6) ! Atomic and molecular line identification
real*4 chi_2 (nr__6) ! (eV) [0/4.5] Excitation potential {chi}
real*4 loggf_3 (nr__6) ! ([-]) Logarithmic statistical weight of the lower
* level multiplied by the oscillator strength
C=============================================================================
C Loading file 'table4.dat' ! Photospheric parameters and [X/Fe] abundances
C Format for file interpretation
1 format(
+ A10,2X,A8,2X,F5.2,2X,I4,2X,I3,2X,F4.2,2X,F4.2,2X,F4.2,2X,F4.2,
+ 2X,F5.2,2X,F4.2,2X,F5.2,2X,F4.2,2X,F5.2,2X,F4.2,2X,F5.2,2X,
+ F4.2,2X,F5.2,2X,F4.2,2X,F5.2,2X,F4.2,2X,F5.2,2X,F4.2,2X,F5.2,
+ 2X,F4.2,2X,F5.2,2X,F4.2,2X,F5.2,2X,F4.2,2X,F5.2,2X,F4.2,2X,
+ F5.2,2X,F4.2,2X,F5.2,2X,F4.2,9X,F4.2,2X,A8)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,309
read(1,'(A254)')ar__
read(ar__,1)
+ Name(i__),SpType(i__),Vbroad(i__),Teff(i__),e_Teff(i__),
+ logg(i__),e_logg(i__),xi(i__),e_xi(i__),v_Fe_H_(i__),
+ e__Fe_H_(i__),v_C_Fe_(i__),e__C_Fe_(i__),v_N_Fe_(i__),
+ e__N_Fe_(i__),v_O_Fe_(i__),e__O_Fe_(i__),v_Na_Fe_(i__),
+ e__Na_Fe_(i__),v_Mg_Fe_(i__),e__Mg_Fe_(i__),v_Si_Fe_(i__),
+ e__Si_Fe_(i__),v_Ca_Fe_(i__),e__Ca_Fe_(i__),v_Ti_Fe_(i__),
+ e__Ti_Fe_(i__),v_V_Fe_(i__),e__V_Fe_(i__),v_Mn_Fe_(i__),
+ e__Mn_Fe_(i__),v_Ni_Fe_(i__),e__Ni_Fe_(i__),v_Cu_Fe_(i__),
+ e__Cu_Fe_(i__),e__Ba_Fe_(i__),Class(i__)
if(ar__(78:82) .EQ. '') v_C_Fe_(i__) = rNULL__
if(ar__(85:88) .EQ. '') e__C_Fe_(i__) = rNULL__
if(ar__(91:95) .EQ. '') v_N_Fe_(i__) = rNULL__
if(ar__(98:101) .EQ. '') e__N_Fe_(i__) = rNULL__
if(ar__(104:108) .EQ. '') v_O_Fe_(i__) = rNULL__
if(ar__(111:114) .EQ. '') e__O_Fe_(i__) = rNULL__
if(ar__(117:121) .EQ. '') v_Na_Fe_(i__) = rNULL__
if(ar__(124:127) .EQ. '') e__Na_Fe_(i__) = rNULL__
if(ar__(130:134) .EQ. '') v_Mg_Fe_(i__) = rNULL__
if(ar__(137:140) .EQ. '') e__Mg_Fe_(i__) = rNULL__
if(ar__(143:147) .EQ. '') v_Si_Fe_(i__) = rNULL__
if(ar__(150:153) .EQ. '') e__Si_Fe_(i__) = rNULL__
if(ar__(156:160) .EQ. '') v_Ca_Fe_(i__) = rNULL__
if(ar__(163:166) .EQ. '') e__Ca_Fe_(i__) = rNULL__
if(ar__(169:173) .EQ. '') v_Ti_Fe_(i__) = rNULL__
if(ar__(176:179) .EQ. '') e__Ti_Fe_(i__) = rNULL__
if(ar__(182:186) .EQ. '') v_V_Fe_(i__) = rNULL__
if(ar__(189:192) .EQ. '') e__V_Fe_(i__) = rNULL__
if(ar__(195:199) .EQ. '') v_Mn_Fe_(i__) = rNULL__
if(ar__(202:205) .EQ. '') e__Mn_Fe_(i__) = rNULL__
if(ar__(208:212) .EQ. '') v_Ni_Fe_(i__) = rNULL__
if(ar__(215:218) .EQ. '') e__Ni_Fe_(i__) = rNULL__
if(ar__(221:225) .EQ. '') v_Cu_Fe_(i__) = rNULL__
if(ar__(228:231) .EQ. '') e__Cu_Fe_(i__) = rNULL__
if(ar__(241:244) .EQ. '') e__Ba_Fe_(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ Name(i__),SpType(i__),Vbroad(i__),Teff(i__),e_Teff(i__),
+ logg(i__),e_logg(i__),xi(i__),e_xi(i__),v_Fe_H_(i__),
+ e__Fe_H_(i__),v_C_Fe_(i__),e__C_Fe_(i__),v_N_Fe_(i__),
+ e__N_Fe_(i__),v_O_Fe_(i__),e__O_Fe_(i__),v_Na_Fe_(i__),
+ e__Na_Fe_(i__),v_Mg_Fe_(i__),e__Mg_Fe_(i__),v_Si_Fe_(i__),
+ e__Si_Fe_(i__),v_Ca_Fe_(i__),e__Ca_Fe_(i__),v_Ti_Fe_(i__),
+ e__Ti_Fe_(i__),v_V_Fe_(i__),e__V_Fe_(i__),v_Mn_Fe_(i__),
+ e__Mn_Fe_(i__),v_Ni_Fe_(i__),e__Ni_Fe_(i__),v_Cu_Fe_(i__),
+ e__Cu_Fe_(i__),e__Ba_Fe_(i__),Class(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table7.dat' ! Photometric and evolutionary parameters together
* with the population membership
C Format for file interpretation
2 format(
+ A10,2X,F5.3,2X,F5.2,2X,F5.1,2X,F6.3,2X,F6.3,2X,F5.3,2X,F4.2,
+ 2X,F4.2,2X,F4.1,2X,F4.1,2X,F4.1,2X,A10,2X,A8,2X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table7.dat')
write(6,*) '....Loading file: table7.dat'
do i__=1,309
read(1,'(A111)')ar__1
read(ar__1,2)
+ Name_1(i__),B_V(i__),VMag(i__),Dist(i__),BC(i__),logL(i__),
+ e_logL(i__),Mass(i__),e_Mass(i__),Age(i__),e_Age(i__),
+ E_Age_1(i__),Popul(i__),Rem(i__),Ref(i__)
if(ar__1(57:60) .EQ. '') Mass(i__) = rNULL__
if(ar__1(63:66) .EQ. '') e_Mass(i__) = rNULL__
if(ar__1(69:72) .EQ. '') Age(i__) = rNULL__
if(ar__1(75:78) .EQ. '') e_Age(i__) = rNULL__
if(ar__1(81:84) .EQ. '') E_Age_1(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ Name_1(i__),B_V(i__),VMag(i__),Dist(i__),BC(i__),logL(i__),
+ e_logL(i__),Mass(i__),e_Mass(i__),Age(i__),e_Age(i__),
+ E_Age_1(i__),Popul(i__),Rem(i__),Ref(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table8.dat' ! Slopes of the linear regressions on [X/Fe] vs. Tc
C Format for file interpretation
3 format(
+ A10,2X,F9.6,2X,F8.6,2X,F5.2,2X,F4.2,2X,F9.6,2X,F8.6,2X,F5.2,
+ 2X,F4.2,2X,F9.6,2X,F8.6,2X,F5.2,2X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table8.dat')
write(6,*) '....Loading file: table8.dat'
do i__=1,120
read(1,'(A112)')ar__2
read(ar__2,3)
+ Name_2(i__),slope0(i__),e_slope0(i__),r0(i__),std0(i__),
+ slope1(i__),e_slope1(i__),r1(i__),std1(i__),slope2(i__),
+ e_slope2(i__),r2(i__),std2(i__)
c ..............Just test output...........
write(6,3)
+ Name_2(i__),slope0(i__),e_slope0(i__),r0(i__),std0(i__),
+ slope1(i__),e_slope1(i__),r1(i__),std1(i__),slope2(i__),
+ e_slope2(i__),r2(i__),std2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Atomic line parameters and solar EWs
C Format for file interpretation
4 format(F8.2,2X,A4,2X,F4.2,2X,F6.3,2X,F5.1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,178
read(1,'(A35)')ar__3
read(ar__3,4)
+ lambda0(i__),Line(i__),chi(i__),loggf(i__),EW(i__)
if(ar__3(23:28) .EQ. '') loggf(i__) = rNULL__
c ..............Just test output...........
write(6,4)
+ lambda0(i__),Line(i__),chi(i__),loggf(i__),EW(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Atomic parameters for lines with important
* hyperfine structure
C Format for file interpretation
5 format(A4,2X,F7.2,2X,F8.3,2X,F6.3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,109
read(1,'(A31)')ar__4
read(ar__4,5)
+ Line_1(i__),lambda0_1(i__),lambda(i__),loggf_1(i__)
c ..............Just test output...........
write(6,5)
+ Line_1(i__),lambda0_1(i__),lambda(i__),loggf_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Atomic and molecular line parameters
C Format for file interpretation
6 format(F10.4,2X,F5.1,2X,F6.3,2X,E9.3,2X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,9183
read(1,'(A43)')ar__5
read(ar__5,6)
+ lambda0_2(i__),Line_2(i__),chi_1(i__),loggf_2(i__),D0(i__)
if(ar__5(39:43) .EQ. '') D0(i__) = rNULL__
c ..............Just test output...........
write(6,6)
+ lambda0_2(i__),Line_2(i__),chi_1(i__),loggf_2(i__),D0(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! Atomic parameters for strong atomic lines
C Format for file interpretation
7 format(F10.4,2X,F4.1,2X,F5.3,2X,E9.3)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,57
read(1,'(A34)')ar__6
read(ar__6,7)
+ lambda0_3(i__),Line_3(i__),chi_2(i__),loggf_3(i__)
c ..............Just test output...........
write(6,7)
+ lambda0_3(i__),Line_3(i__),chi_2(i__),loggf_3(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end