Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/285/473 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 2024-Mar-29 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/285/473 Low-mass stars (Forestini 1994) *================================================================================ *Low-mass stars: pre-main sequence evolution and nucleosynthesis; Abundances * FORESTINI M. * <Astron. Astrophys. 285, 473 (1994)> * =1994A&A...285..473F C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1' ! Evolutionary sequences integer*4 nr__ parameter (nr__=554) ! Number of records character*78 ar__ ! Full-size record real*4 M ! (solMass) Total mass real*4 Z ! (Sun) Star metallicity character*1 n ! Note (1) real*4 log_t ! ([yr]) Star age real*4 L_ ! (solLum) Total luminosity real*4 R ! (solRad) Total radius integer*4 Teff ! (K) Effective temperature real*4 Lnuc ! (%) Energetic contribution of the nuclear reaction * in units of L* real*4 Lgrav ! (%) Gravitational energy release (>0) * or absorption (<0) in units of L* real*4 Mcore ! (solMass) Mass of the radiative core real*4 logTb ! ([K]) Temperature at the base of the convective * envelope real*4 v6Li ! Surface 6Li abundance * (relative to its initial value) real*4 v7Li ! Surface 7Li abundance * (relative to its initial value) real*4 v9Be ! Surface 9Be abundance * (relative to its initial value) *Note (1): * a: with low-temperature radiative opacity tables of Alexander (1983) * b: with low- and high-temperature radiative opacity tables of * Alexander (1983) and Huebner et al. (1977), respectively * c: with the atmospheric temperature stratification given by the analytic * T(tau) relation of Henyey et al. (1985) * d: with the atmosphere integrated up to an optical depth tau = 0.001 * e: with alpha = 2 * f: with alpha = 1 * g: with mass accretion from the beginning and during 2.5 10+6 yr, at a * rate of 10-7 Msun/yr C============================================================================= C Loading file 'table1' ! Evolutionary sequences C Format for file interpretation 1 format( + F3.1,1X,F6.4,A1,2X,F5.3,1X,F5.2,1X,F5.2,1X,I5,1X,F5.1,1X,F5.1, + 1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table1') write(6,*) '....Loading file: table1' do i__=1,554 read(1,'(A78)')ar__ read(ar__,1) + M,Z,n,log_t,L_,R,Teff,Lnuc,Lgrav,Mcore,logTb,v6Li,v7Li,v9Be c ..............Just test output........... write(6,1) + M,Z,n,log_t,L_,R,Teff,Lnuc,Lgrav,Mcore,logTb,v6Li,v7Li,v9Be c .......End.of.Just test output........... end do close(1) C============================================================================= stop end