Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/686/A174 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-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 (nr__) ! TESS Input Catalog (TIC) number
real*8 RAdeg (nr__) ! (deg) Right ascension (J2000)
real*8 DEdeg (nr__) ! (deg) Declination (J2000)
real*4 Vmag (nr__) ! (mag) V band magnitude
integer*4 Teff (nr__) ! (K) Effective temperature
integer*4 e_Teff (nr__) ! (K) ? Error in Effective temperature
real*4 Mass (nr__) ! (Msun) ? Stellar mass
real*4 e_Mass (nr__) ! (Msun) ? Error in stellar mass
real*4 R (nr__) ! (Rsun) ? Stellar radius
real*4 e_R (nr__) ! (Rsun) ? Error in Stellar radius
real*4 logg (nr__) ! ([cm/s2]) ? Gravitational acceleration
real*4 e_logg (nr__) ! ([cm/s2]) ? Error in logg
real*4 Lum (nr__) ! ? Luminosity
real*4 e_Lum (nr__) ! ? Error in luminosity
real*4 plx (nr__) ! (mas) Parallax
real*4 e_plx (nr__) ! (mas) Error in parallax
real*4 VMAG_1 (nr__) ! (mag) Absolute V magnitude
real*8 Freq (nr__) ! (c/d) Frequency at maximum power
real*4 e_Freq (nr__) ! (c/d) Error in Frequency at maximum power
real*4 Amp (nr__) ! (mmag) Amplitude
real*4 e_Amp (nr__) ! (mmag) Error in Amplitude
real*4 Q (nr__) ! ? 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 (nr__1) ! TESS Input Catalog (TIC) number
character*2 SpType (nr__1) ! Spectral type
integer*4 Teff_1 (nr__1) ! (K) Effective temperature
integer*4 e_Teff_1 (nr__1) ! (K) Effective temperature error
real*4 v_Fe_H_ (nr__1) ! ([-]) Metallicity
real*4 e__Fe_H_ (nr__1) ! ([-]) Metallicity error
real*4 logg_1 (nr__1) ! ([cm/s2]) Surface gravity
real*4 e_logg_1 (nr__1) ! ([cm/s2]) Surface gravity error
real*4 Q_1 (nr__1) ! ? Pulsation constant
real*4 nuf (nr__1) ! (d-1) ? Pulsation frequency
real*4 nuAmax (nr__1) ! (d-1) ? Frequency associated with the highest
* amplitude in the power spectrum
real*4 numax (nr__1) ! (d-1) ? Frequency at maximum power
real*4 Dnu (nr__1) ! (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(i__),RAdeg(i__),DEdeg(i__),Vmag(i__),Teff(i__),
+ e_Teff(i__),Mass(i__),e_Mass(i__),R(i__),e_R(i__),logg(i__),
+ e_logg(i__),Lum(i__),e_Lum(i__),plx(i__),e_plx(i__),
+ VMAG_1(i__),Freq(i__),e_Freq(i__),Amp(i__),e_Amp(i__),Q(i__)
if(ar__(48:50) .EQ. '') e_Teff(i__) = iNULL__
if(ar__(52:55) .EQ. '') Mass(i__) = rNULL__
if(ar__(57:60) .EQ. '') e_Mass(i__) = rNULL__
if(ar__(62:66) .EQ. '') R(i__) = rNULL__
if(ar__(68:71) .EQ. '') e_R(i__) = rNULL__
if(ar__(73:76) .EQ. '') logg(i__) = rNULL__
if(ar__(78:81) .EQ. '') e_logg(i__) = rNULL__
if(ar__(83:87) .EQ. '') Lum(i__) = rNULL__
if(ar__(89:93) .EQ. '') e_Lum(i__) = rNULL__
if(ar__(139:143) .EQ. '') Q(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ TIC(i__),RAdeg(i__),DEdeg(i__),Vmag(i__),Teff(i__),
+ e_Teff(i__),Mass(i__),e_Mass(i__),R(i__),e_R(i__),logg(i__),
+ e_logg(i__),Lum(i__),e_Lum(i__),plx(i__),e_plx(i__),
+ VMAG_1(i__),Freq(i__),e_Freq(i__),Amp(i__),e_Amp(i__),Q(i__)
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(i__),SpType(i__),Teff_1(i__),e_Teff_1(i__),v_Fe_H_(i__),
+ e__Fe_H_(i__),logg_1(i__),e_logg_1(i__),Q_1(i__),nuf(i__),
+ nuAmax(i__),numax(i__),Dnu(i__)
if(ar__1(44:48) .EQ. '') Q_1(i__) = rNULL__
if(ar__1(50:54) .EQ. '') nuf(i__) = rNULL__
if(ar__1(56:60) .EQ. '') nuAmax(i__) = rNULL__
if(ar__1(62:66) .EQ. '') numax(i__) = rNULL__
if(ar__1(68:71) .EQ. '') Dnu(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ TIC_1(i__),SpType(i__),Teff_1(i__),e_Teff_1(i__),v_Fe_H_(i__),
+ e__Fe_H_(i__),logg_1(i__),e_logg_1(i__),Q_1(i__),nuf(i__),
+ nuAmax(i__),numax(i__),Dnu(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end