Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/686/A174 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-Oct-05
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/686/A174 delta Scuti stars in TESS cycle-4 (Lv+, 2024)
*================================================================================
*Statistical analysis of asteroseismic indices and stellar parameters of
*TESS-observed delta scuti stars.
* Lv C., Esamdin A, Hasanzadeh A., Ghazinejad M., Pascual-Granado J.,
* Mirouh G.M., Karimov R.
* <Astron. Astrophys. 686, A174 (2024)>
* =2024A&A...686A.174L (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea1.dat' ! Stellar parameters for the 765 delta Scuti stars
integer*4 nr__
parameter (nr__=765) ! Number of records
character*143 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*8 TIC ! TESS Input Catalog (TIC) number
real*8 RAdeg ! (deg) Right ascension (J2000)
real*8 DEdeg ! (deg) Declination (J2000)
real*4 Vmag ! (mag) V band magnitude
integer*4 Teff ! (K) Effective temperature
integer*4 e_Teff ! (K) ? Error in Effective temperature
real*4 Mass ! (Msun) ? Stellar mass
real*4 e_Mass ! (Msun) ? Error in stellar mass
real*4 R ! (Rsun) ? Stellar radius
real*4 e_R ! (Rsun) ? Error in Stellar radius
real*4 logg ! ([cm/s2]) ? Gravitational acceleration
real*4 e_logg ! ([cm/s2]) ? Error in logg
real*4 Lum ! ? Luminosity
real*4 e_Lum ! ? Error in luminosity
real*4 plx ! (mas) Parallax
real*4 e_plx ! (mas) Error in parallax
real*4 VMAG_1 ! (mag) Absolute V magnitude
real*8 Freq ! (c/d) Frequency at maximum power
real*4 e_Freq ! (c/d) Error in Frequency at maximum power
real*4 Amp ! (mmag) Amplitude
real*4 e_Amp ! (mmag) Error in Amplitude
real*4 Q ! ? Pulsation constant
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea2.dat' ! Catalogs of 179 delta Scuti stars with LAMOST
parameters (Cui et al., 2012RAA....12.1197C)
and asteroseismic indices
integer*4 nr__1
parameter (nr__1=179) ! Number of records
character*71 ar__1 ! Full-size record
integer*4 TIC_1 ! TESS Input Catalog (TIC) number
character*2 SpType ! Spectral type
integer*4 Teff_1 ! (K) Effective temperature
integer*4 e_Teff_1 ! (K) Effective temperature error
real*4 v_Fe_H_ ! ([-]) Metallicity
real*4 e__Fe_H_ ! ([-]) Metallicity error
real*4 logg_1 ! ([cm/s2]) Surface gravity
real*4 e_logg_1 ! ([cm/s2]) Surface gravity error
real*4 Q_1 ! ? Pulsation constant
real*4 nuf ! (d-1) ? Pulsation frequency
real*4 nuAmax ! (d-1) ? Frequency associated with the highest
* amplitude in the power spectrum
real*4 numax ! (d-1) ? Frequency at maximum power
real*4 Dnu ! (d-1) ? Large frequency separation
C=============================================================================
C Loading file 'tablea1.dat' ! Stellar parameters for the 765 delta Scuti stars
C Format for file interpretation
1 format(
+ I10,1X,F10.6,1X,F13.9,1X,F5.2,1X,I4,1X,I3,1X,F4.2,1X,F4.2,1X,
+ F5.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.2,
+ 1X,F5.2,1X,F7.4,1X,F6.4,1X,F6.2,1X,F4.2,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'tablea1.dat')
write(6,*) '....Loading file: tablea1.dat'
do i__=1,765
read(1,'(A143)')ar__
read(ar__,1)
+ TIC,RAdeg,DEdeg,Vmag,Teff,e_Teff,Mass,e_Mass,R,e_R,logg,
+ e_logg,Lum,e_Lum,plx,e_plx,VMAG_1,Freq,e_Freq,Amp,e_Amp,Q
if(ar__(48:50) .EQ. '') e_Teff = iNULL__
if(ar__(52:55) .EQ. '') Mass = rNULL__
if(ar__(57:60) .EQ. '') e_Mass = rNULL__
if(ar__(62:66) .EQ. '') R = rNULL__
if(ar__(68:71) .EQ. '') e_R = rNULL__
if(ar__(73:76) .EQ. '') logg = rNULL__
if(ar__(78:81) .EQ. '') e_logg = rNULL__
if(ar__(83:87) .EQ. '') Lum = rNULL__
if(ar__(89:93) .EQ. '') e_Lum = rNULL__
if(ar__(139:143) .EQ. '') Q = rNULL__
c ..............Just test output...........
write(6,1)
+ TIC,RAdeg,DEdeg,Vmag,Teff,e_Teff,Mass,e_Mass,R,e_R,logg,
+ e_logg,Lum,e_Lum,plx,e_plx,VMAG_1,Freq,e_Freq,Amp,e_Amp,Q
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tablea2.dat' ! Catalogs of 179 delta Scuti stars with LAMOST
* parameters (Cui et al., 2012RAA....12.1197C)
* and asteroseismic indices
C Format for file interpretation
2 format(
+ I9,1X,A2,1X,I4,1X,I3,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F5.3,
+ 1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'tablea2.dat')
write(6,*) '....Loading file: tablea2.dat'
do i__=1,179
read(1,'(A71)')ar__1
read(ar__1,2)
+ TIC_1,SpType,Teff_1,e_Teff_1,v_Fe_H_,e__Fe_H_,logg_1,e_logg_1,
+ Q_1,nuf,nuAmax,numax,Dnu
if(ar__1(44:48) .EQ. '') Q_1 = rNULL__
if(ar__1(50:54) .EQ. '') nuf = rNULL__
if(ar__1(56:60) .EQ. '') nuAmax = rNULL__
if(ar__1(62:66) .EQ. '') numax = rNULL__
if(ar__1(68:71) .EQ. '') Dnu = rNULL__
c ..............Just test output...........
write(6,2)
+ TIC_1,SpType,Teff_1,e_Teff_1,v_Fe_H_,e__Fe_H_,logg_1,e_logg_1,
+ Q_1,nuf,nuAmax,numax,Dnu
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end