Conversion of standardized ReadMe file for
file /./home/cats/J/AZh/79/259 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-17
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/AZh/79/259 Models for Intermediate-Mass Eclipsing Binaries (Kovaleva, 2002)
*================================================================================
*Studies of Intermediate-Mass Stellar Models using Eclipsing Binaries
* Kovaleva D.A.
* <Astron. Zh. 79, 259 (2002)>
* =2002AZh....79..259K
* =2002ARep...46..233K
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Observational (bibliographic) masses (from
Kovaleva, 2001, Cat. <J/AZh/78/1104>), and
semi-empirical radii, effective temperatures, and
luminosities, re-calculated from observational
values for ZAMS and solar metallicity.
integer*4 nr__
parameter (nr__=43) ! Number of records
character*115 ar__ ! Full-size record
character*10 Name (nr__) ! Name of the star
character*11 Ident (nr__) ! HD/BD/other identifications
real*4 M1 (nr__) ! (solMass) Mass of the primary in solar units
real*4 e_M1 (nr__) ! (solMass) Uncertainty in primary mass
real*4 M2 (nr__) ! (solMass) Mass of the secondary in solar units
real*4 e_M2 (nr__) ! (solMass) Uncertainty in secondary mass
real*4 R1 (nr__) ! (solRad) Radius of the primary in solar units
real*4 e_R1 (nr__) ! (solRad) Uncertainty in radius
real*4 R2 (nr__) ! (solRad) Radius of the secondary in solar units
real*4 e_R2 (nr__) ! (solRad) Uncertainty in secondary radius
real*4 logTeff1 (nr__) ! ([K]) Log(T_eff_) of the primary
real*4 e_logTeff1 (nr__) ! ([K]) Uncertainty in logTeff1
real*4 logTeff2 (nr__) ! ([K]) Log(T_eff_) of the secondary
real*4 e_logTeff2 (nr__) ! ([K]) Uncertainty in logTeff2
real*4 logL1 (nr__) ! ([solLum]) Log(L) of the primary in solar units
real*4 e_logL1 (nr__) ! ([solLum]) Uncertainty in logL1
real*4 logL2 (nr__) ! ([solLum]) Log(L) of the secondary in solar units
real*4 e_logL2 (nr__) ! ([solLum]) Uncertainty in logL2
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Empirical and semi-empirical mass-luminosity,
mass-effective temperature and mass-radius relations
integer*4 nr__1
parameter (nr__1=19) ! Number of records
character*85 ar__1 ! Full-size record
real*4 Mass (nr__1) ! (solMass) Mass in solar units
real*8 logL (nr__1) ! ([solLum]) Log of empirical luminosity in solar units
real*4 e_logL (nr__1) ! ([solLum]) Uncertainty in logL
real*4 logLse (nr__1) ! ([solLum]) Semi-empirical log(L) in solar units
* (for [Fe/H]=0, ZAMS)
real*4 e_logLse (nr__1) ! ([solLum]) Uncertainty in logLse
real*4 logTeffe (nr__1) ! ([K]) Empirical log(Teff)
real*4 e_logTeffe (nr__1) ! ([K]) Uncertainty in logTeffe
real*4 logTeffse (nr__1) ! ([K]) Semi-empirical log(Teff)
* (for [Fe/H]=0, ZAMS)
real*4 e_logTeffse(nr__1) ! ([K]) Uncertainty in logTeffse
real*8 logRad (nr__1) ! ([solRad]) Log of empirical radius in solar units
real*4 e_logRad (nr__1) ! ([solRad]) Uncertainty in empirical radius
real*4 logRadse (nr__1) ! ([solRad]) Log of semi-empirical radius
* in solar units (for [Fe/H]=0, ZAMS)
real*4 e_logRadse (nr__1) ! ([solRad]) Uncertainty in semi-empirical radius
C=============================================================================
C Loading file 'table1.dat' ! Observational (bibliographic) masses (from
* Kovaleva, 2001, Cat. <J/AZh/78/1104>), and
* semi-empirical radii, effective temperatures, and
* luminosities, re-calculated from observational
* values for ZAMS and solar metallicity.
C Format for file interpretation
1 format(
+ A10,A11,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,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.2,1X,F4.2,
+ 1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,43
read(1,'(A115)')ar__
read(ar__,1)
+ Name(i__),Ident(i__),M1(i__),e_M1(i__),M2(i__),e_M2(i__),
+ R1(i__),e_R1(i__),R2(i__),e_R2(i__),logTeff1(i__),
+ e_logTeff1(i__),logTeff2(i__),e_logTeff2(i__),logL1(i__),
+ e_logL1(i__),logL2(i__),e_logL2(i__)
c ..............Just test output...........
write(6,1)
+ Name(i__),Ident(i__),M1(i__),e_M1(i__),M2(i__),e_M2(i__),
+ R1(i__),e_R1(i__),R2(i__),e_R2(i__),logTeff1(i__),
+ e_logTeff1(i__),logTeff2(i__),e_logTeff2(i__),logL1(i__),
+ e_logL1(i__),logL2(i__),e_logL2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Empirical and semi-empirical mass-luminosity,
* mass-effective temperature and mass-radius relations
C Format for file interpretation
2 format(
+ F5.3,1X,F7.4,1X,F4.2,1X,F6.3,1X,F5.3,2X,F6.4,1X,F5.3,2X,F5.3,
+ 1X,F5.3,1X,F7.4,1X,F5.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,19
read(1,'(A85)')ar__1
read(ar__1,2)
+ Mass(i__),logL(i__),e_logL(i__),logLse(i__),e_logLse(i__),
+ logTeffe(i__),e_logTeffe(i__),logTeffse(i__),e_logTeffse(i__),
+ logRad(i__),e_logRad(i__),logRadse(i__),e_logRadse(i__)
c ..............Just test output...........
write(6,2)
+ Mass(i__),logL(i__),e_logL(i__),logLse(i__),e_logLse(i__),
+ logTeffe(i__),e_logTeffe(i__),logTeffse(i__),e_logTeffse(i__),
+ logRad(i__),e_logRad(i__),logRadse(i__),e_logRadse(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end