Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/647/A157 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-Aug-15
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/647/A157 Stellar parameters of the EXPRESS sample (Soto+, 2021)
*================================================================================
*SPECIES II. Stellar parameters of the EXPRESS program giant star sample.
* Soto M.G., Jones M.I., Jenkins J.S.
* <Astron. Astrophys. 647, A157 (2021)>
* =2021A&A...647A.157S (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb1.dat' ! Iron line list used
integer*4 nr__
parameter (nr__=102) ! Number of records
character*37 ar__ ! Full-size record
real*8 lambda (nr__) ! (0.1nm) Wavelength in Angstroms
real*4 EP (nr__) ! (eV) Excitation potential
real*4 loggf (nr__) ! ([-]) Log of the oscillator strength
character*4 Ion (nr__) ! [FeI/FeII] Name of the species
real*4 ID (nr__) ! Identifier of the species (1)
*Note (1): The number before the decimal states the element number, and after
* the decimal is the ionisation stage.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb4.dat' ! Results for the EXPRESS sample
integer*4 nr__1
parameter (nr__1=166) ! Number of records
character*276 ar__1 ! Full-size record
character*9 Name (nr__1) ! Object name
character*6 Inst (nr__1) ! Spectrograph used
real*8 RV (nr__1) ! (km/s) Derived radial velocity of object
real*4 v_Fe_H_ (nr__1) ! ([-]) Metallicity
real*4 e__Fe_H_ (nr__1) ! ([-]) Uncertainty on metallicity
real*4 T (nr__1) ! (K) Temperature
real*4 e_T (nr__1) ! (K) Uncertainty on temperature
real*4 logg (nr__1) ! ([cm/s2]) Surface gravity
real*4 e_logg (nr__1) ! ([cm/s2]) Uncertainty on surface gravity
real*4 vt (nr__1) ! (km/s) Microturbulence velocity
real*4 e_vt (nr__1) ! (km/s) Uncertainty on vt
integer*4 nFeI (nr__1) ! Number of FeI lines used
integer*4 nFeII (nr__1) ! Number of FeII lines used
integer*4 Except (nr__1) ! [1/2] Exception code (1)
real*4 vsini (nr__1) ! (km/s) Rotational velocity
real*4 e_vsini (nr__1) ! (km/s) Uncertainty on vsini
real*4 vmac (nr__1) ! (km/s) Macroturbulence velocity
real*4 e_vmac (nr__1) ! (km/s) Uncertainty on vmac
real*4 Mass (nr__1) ! (Msun) Stellar mass
real*4 E_Mass (nr__1) ! (Msun) Upper mass uncertainty
real*4 e_Mass_1 (nr__1) ! (Msun) Lower mass uncertainty
real*4 Age (nr__1) ! (Gyr) Stellar age
real*4 E_Age (nr__1) ! (Gyr) Upper age uncertainty
real*4 e_Age_1 (nr__1) ! (Gyr) Lower age uncertainty
real*4 trilogg (nr__1) ! ([cm/s2]) Trigonometric surface gravity
real*4 E_trilogg (nr__1) ! ([cm/s2]) Upper trilogg uncertainty
real*4 e_trilogg_1(nr__1) ! ([cm/s2]) Lower trilogg uncertainty
real*4 Radius (nr__1) ! (Rsun) Stellar radius
real*4 E_Radius (nr__1) ! (Rsun) Upper radius uncertainty
real*4 e_Radius_1 (nr__1) ! (Rsun) Lower radius uncertainty
real*4 logL (nr__1) ! ([Lsun]) Stellar luminosity
real*4 E_logL (nr__1) ! ([Lsun]) Upper luminosity uncertainty
real*4 e_logL_1 (nr__1) ! ([Lsun]) Lower luminosity uncertainty
real*4 eep (nr__1) ! Equivalent Evolutionary Point (2)
real*4 E_eep (nr__1) ! Upper eep uncertainty (2)
real*4 e_eep_1 (nr__1) ! Lower eep uncertainty (2)
real*4 PpreMS (nr__1) ! Probability of pre-main sequence (3)
real*4 PMS (nr__1) ! Probability of main sequence (3)
real*4 PRGB (nr__1) ! Probability of red giant branch (3)
real*4 PHB (nr__1) ! Probability of horizontal branch (3)
real*4 PpostHB (nr__1) ! Probability of post-HB (3)
character*1 useTc (nr__1) ! [y/n] Use Tph
character*1 usevt (nr__1) ! [y/n] Use fixed vt
character*1 usetrilogg (nr__1) ! [y/n] Use trilogg as logg
real*4 Tph (nr__1) ! (K) Temperature from photometry (4)
real*8 e_Tph (nr__1) ! (K) Uncertainty on Tph (4)
character*10 Tph_rel (nr__1) ! Relation used in Tph (4)
real*4 AV (nr__1) ! (mag) Photometric extinction (5)
*Note (1): Exception code as follows:
* 1 = Convergence in the atmospheric parameters was reached
* 2 = No convergence was reached
*Note (2): EEPs are points in the stellar evolution that can be identified
* in different evolutionary tracks. Correspondence between EEP and
* stellar evolution phase is listed in Table 2.
*Note (3): The probability of each evolutionary stage is computed as
* Pstate = sum (EEP_stage) / sum (N),
* where EEP_stage corresponds to the number of EEP points that belong
* to each evolutionary stage, and N is the total sample size.
* See Sect. 3.2 of paper.
*Note (4): Temperature obtained from the stellar photometric magnitudes.
* The magnitudes are retrieved from several CDS catalogues
* automatically, and are used together with empirical photometric
* relations for the temperature. See Sect. 3.1 of paper.
* Alonso1999 for Alonso et al., 1999A&AS..140..261A.
*Note (5): Extinction of the object, computed using the stellar coordinates,
* parallax, and the dust maps from Bovy et al. (2014ApJ...790..127B,
* 2016ApJ...818..130B)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb5.dat' ! Results for the Sun spectra
integer*4 nr__2
parameter (nr__2=18) ! Number of records
character*160 ar__2 ! Full-size record
character*10 Spectrum (nr__2) ! Spectrum label (1)
character*6 Inst_1 (nr__2) ! Spectrograph/Instrument (2)
real*4 v_Fe_H__1 (nr__2) ! ([-]) Metallicity
real*4 e__Fe_H__1 (nr__2) ! ([-]) Uncertainty on metallicity
real*4 T_1 (nr__2) ! (K) Temperature
real*4 e_T_1 (nr__2) ! (K) Uncertainty on temperature
real*4 logg_1 (nr__2) ! ([cm/s2]) Surface gravity
real*4 e_logg_1 (nr__2) ! ([cm/s2]) Uncertainty on surface gravity
real*4 vt_1 (nr__2) ! (km/s) Microturbulence velocity
real*4 e_vt_1 (nr__2) ! (km/s) Uncertainty on vt
real*4 vsini_1 (nr__2) ! (km/s) Rotational velocity
real*4 e_vsini_1 (nr__2) ! (km/s) Uncertainty on vsini
real*4 vmac_1 (nr__2) ! (km/s) Macroturbulence velocity *
real*4 e_vmac_1 (nr__2) ! (km/s) Uncertainty on vmac
real*4 Mass_1 (nr__2) ! (Msun) Stellar mass
real*4 E_Mass_2 (nr__2) ! (Msun) Upper mass uncertainty
real*4 e_Mass_3 (nr__2) ! (Msun) Lower mass uncertainty
real*4 Radius_1 (nr__2) ! (Rsun) Stellar radius
real*4 E_Radius_2 (nr__2) ! (Rsun) Upper radius uncertainty
real*4 e_Radius_3 (nr__2) ! (Rsun) Lower radius uncertainty
real*4 logL_1 (nr__2) ! ([Lsun]) Stellar luminosity
real*4 E_logL_2 (nr__2) ! ([Lsun]) Upper luminosity uncertainty
real*4 e_logL_3 (nr__2) ! ([Lsun]) Lower luminosity uncertainty
real*4 Age_1 (nr__2) ! (Gyr) Stellar age
real*4 E_Age_2 (nr__2) ! (Gyr) Upper age uncertainty
real*4 e_Age_3 (nr__2) ! (Gyr) Lower age uncertainty
*Note (1): Spectra labeled Sun_0 to Sun_7 were taken from
* Blanco-Cuaresma et al. (2014A&A...566A..98B), while the rest were obtained
* through the ESO data archive
* (https://www.eso.org/sci/facilities/lasilla/instruments/harps/
* inst/monitoring/sun.html).
*Note (2): Spectrograph/Instrument as follows:
* ATLAS = Hinkle et al. (2000vnia.book.....H)
* NARVAL = Auriere (2003EAS.....9..105A)
* UVES = Dekker et al. (2000SPIE.4008..534D)
C=============================================================================
C Loading file 'tableb1.dat' ! Iron line list used
C Format for file interpretation
1 format(1X,F7.2,3X,F4.2,2X,F5.2,5X,A4,2X,F4.1)
C Effective file loading
open(unit=1,status='old',file=
+'tableb1.dat')
write(6,*) '....Loading file: tableb1.dat'
do i__=1,102
read(1,'(A37)')ar__
read(ar__,1)lambda(i__),EP(i__),loggf(i__),Ion(i__),ID(i__)
c ..............Just test output...........
write(6,1)lambda(i__),EP(i__),loggf(i__),Ion(i__),ID(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb4.dat' ! Results for the EXPRESS sample
C Format for file interpretation
2 format(
+ A9,1X,A6,1X,F8.3,1X,F5.2,1X,F5.3,1X,F6.1,1X,F6.3,1X,F5.3,1X,
+ F5.3,1X,F5.3,1X,F5.3,1X,I2,1X,I1,1X,I1,1X,F5.3,1X,F5.3,1X,
+ F5.3,1X,F5.3,1X,F4.2,1X,F5.3,1X,F5.3,1X,F5.2,1X,F5.3,1X,F5.3,
+ 1X,F4.2,1X,F5.3,1X,F5.3,1X,F5.2,1X,F5.3,1X,F5.3,1X,F4.2,1X,
+ F5.3,1X,F5.3,1X,F6.2,1X,F6.2,1X,F6.2,1X,F3.1,1X,F3.1,1X,F5.3,
+ 1X,F5.3,1X,F3.1,1X,A1,1X,A1,1X,A1,1X,F6.1,1X,F7.3,1X,A10,1X,
+ F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'tableb4.dat')
write(6,*) '....Loading file: tableb4.dat'
do i__=1,166
read(1,'(A276)')ar__1
read(ar__1,2)
+ Name(i__),Inst(i__),RV(i__),v_Fe_H_(i__),e__Fe_H_(i__),T(i__),
+ e_T(i__),logg(i__),e_logg(i__),vt(i__),e_vt(i__),nFeI(i__),
+ nFeII(i__),Except(i__),vsini(i__),e_vsini(i__),vmac(i__),
+ e_vmac(i__),Mass(i__),E_Mass(i__),e_Mass_1(i__),Age(i__),
+ E_Age(i__),e_Age_1(i__),trilogg(i__),E_trilogg(i__),
+ e_trilogg_1(i__),Radius(i__),E_Radius(i__),e_Radius_1(i__),
+ logL(i__),E_logL(i__),e_logL_1(i__),eep(i__),E_eep(i__),
+ e_eep_1(i__),PpreMS(i__),PMS(i__),PRGB(i__),PHB(i__),
+ PpostHB(i__),useTc(i__),usevt(i__),usetrilogg(i__),Tph(i__),
+ e_Tph(i__),Tph_rel(i__),AV(i__)
c ..............Just test output...........
write(6,2)
+ Name(i__),Inst(i__),RV(i__),v_Fe_H_(i__),e__Fe_H_(i__),T(i__),
+ e_T(i__),logg(i__),e_logg(i__),vt(i__),e_vt(i__),nFeI(i__),
+ nFeII(i__),Except(i__),vsini(i__),e_vsini(i__),vmac(i__),
+ e_vmac(i__),Mass(i__),E_Mass(i__),e_Mass_1(i__),Age(i__),
+ E_Age(i__),e_Age_1(i__),trilogg(i__),E_trilogg(i__),
+ e_trilogg_1(i__),Radius(i__),E_Radius(i__),e_Radius_1(i__),
+ logL(i__),E_logL(i__),e_logL_1(i__),eep(i__),E_eep(i__),
+ e_eep_1(i__),PpreMS(i__),PMS(i__),PRGB(i__),PHB(i__),
+ PpostHB(i__),useTc(i__),usevt(i__),usetrilogg(i__),Tph(i__),
+ e_Tph(i__),Tph_rel(i__),AV(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb5.dat' ! Results for the Sun spectra
C Format for file interpretation
3 format(
+ A10,1X,A6,1X,F5.2,1X,F5.3,1X,F6.1,1X,F6.3,1X,F5.3,1X,F5.3,1X,
+ F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F4.2,1X,F5.3,
+ 1X,F5.3,1X,F4.2,1X,F5.3,1X,F5.3,1X,F5.2,1X,F5.3,1X,F5.3,1X,
+ F4.2,1X,F5.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'tableb5.dat')
write(6,*) '....Loading file: tableb5.dat'
do i__=1,18
read(1,'(A160)')ar__2
read(ar__2,3)
+ Spectrum(i__),Inst_1(i__),v_Fe_H__1(i__),e__Fe_H__1(i__),
+ T_1(i__),e_T_1(i__),logg_1(i__),e_logg_1(i__),vt_1(i__),
+ e_vt_1(i__),vsini_1(i__),e_vsini_1(i__),vmac_1(i__),
+ e_vmac_1(i__),Mass_1(i__),E_Mass_2(i__),e_Mass_3(i__),
+ Radius_1(i__),E_Radius_2(i__),e_Radius_3(i__),logL_1(i__),
+ E_logL_2(i__),e_logL_3(i__),Age_1(i__),E_Age_2(i__),
+ e_Age_3(i__)
c ..............Just test output...........
write(6,3)
+ Spectrum(i__),Inst_1(i__),v_Fe_H__1(i__),e__Fe_H__1(i__),
+ T_1(i__),e_T_1(i__),logg_1(i__),e_logg_1(i__),vt_1(i__),
+ e_vt_1(i__),vsini_1(i__),e_vsini_1(i__),vmac_1(i__),
+ e_vmac_1(i__),Mass_1(i__),E_Mass_2(i__),e_Mass_3(i__),
+ Radius_1(i__),E_Radius_2(i__),e_Radius_3(i__),logL_1(i__),
+ E_logL_2(i__),e_logL_3(i__),Age_1(i__),E_Age_2(i__),
+ e_Age_3(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end