FORTRAN Generation
(/./home/cats/J/AZh/79/259)

Conversion of standardized ReadMe file for file /./home/cats/J/AZh/79/259 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-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        ! Name of the star
      character*11  Ident       ! HD/BD/other identifications
      real*4        M1          ! (solMass) Mass of the primary in solar units
      real*4        e_M1        ! (solMass) Uncertainty in primary mass
      real*4        M2          ! (solMass) Mass of the secondary in solar units
      real*4        e_M2        ! (solMass) Uncertainty in secondary mass
      real*4        R1          ! (solRad) Radius of the primary in solar units
      real*4        e_R1        ! (solRad) Uncertainty in radius
      real*4        R2          ! (solRad) Radius of the secondary in solar units
      real*4        e_R2        ! (solRad) Uncertainty in secondary radius
      real*4        logTeff1    ! ([K]) Log(T_eff_) of the primary
      real*4        e_logTeff1  ! ([K]) Uncertainty in logTeff1
      real*4        logTeff2    ! ([K]) Log(T_eff_) of the secondary
      real*4        e_logTeff2  ! ([K]) Uncertainty in logTeff2
      real*4        logL1       ! ([solLum]) Log(L) of the primary in solar units
      real*4        e_logL1     ! ([solLum]) Uncertainty in logL1
      real*4        logL2       ! ([solLum]) Log(L) of the secondary in solar units
      real*4        e_logL2     ! ([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        ! (solMass) Mass in solar units
      real*8        logL        ! ([solLum]) Log of empirical luminosity in solar units
      real*4        e_logL      ! ([solLum]) Uncertainty in logL
      real*4        logLse      ! ([solLum]) Semi-empirical log(L) in solar units
*                                       (for [Fe/H]=0, ZAMS)
      real*4        e_logLse    ! ([solLum]) Uncertainty in logLse
      real*4        logTeffe    ! ([K]) Empirical log(Teff)
      real*4        e_logTeffe  ! ([K]) Uncertainty in logTeffe
      real*4        logTeffse   ! ([K]) Semi-empirical log(Teff)
*                                       (for [Fe/H]=0, ZAMS)
      real*4        e_logTeffse ! ([K]) Uncertainty in logTeffse
      real*8        logRad      ! ([solRad]) Log of empirical radius in solar units
      real*4        e_logRad    ! ([solRad]) Uncertainty in empirical radius
      real*4        logRadse    ! ([solRad]) Log of semi-empirical radius
*                                       in solar units (for [Fe/H]=0, ZAMS)
      real*4        e_logRadse  ! ([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,Ident,M1,e_M1,M2,e_M2,R1,e_R1,R2,e_R2,logTeff1,
     +  e_logTeff1,logTeff2,e_logTeff2,logL1,e_logL1,logL2,e_logL2
c    ..............Just test output...........
        write(6,1)
     +  Name,Ident,M1,e_M1,M2,e_M2,R1,e_R1,R2,e_R2,logTeff1,
     +  e_logTeff1,logTeff2,e_logTeff2,logL1,e_logL1,logL2,e_logL2
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,logL,e_logL,logLse,e_logLse,logTeffe,e_logTeffe,
     +  logTeffse,e_logTeffse,logRad,e_logRad,logRadse,e_logRadse
c    ..............Just test output...........
        write(6,2)
     +  Mass,logL,e_logL,logLse,e_logLse,logTeffe,e_logTeffe,
     +  logTeffse,e_logTeffse,logRad,e_logRad,logRadse,e_logRadse
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end