Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/517/A3 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-Apr-20 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/517/A3 Stellar parameters of Kepler early-type targets (Catanzaro+, 2010) *================================================================================ *Characterization of Kepler early-type targets. * Catanzaro G., Frasca A., Molenda-Zakowicz J., Marilli E. * <Astron. Astrophys. 517, A3 (2010)> * =2010A&A...517A...3C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Stromgren photometry for 14 stars integer*4 nr__ parameter (nr__=14) ! Number of records character*92 ar__ ! Full-size record integer*4 HIP ! Hipparcos number (I/239) real*4 Vmag ! (mag) V magnitude real*4 e_Vmag ! (mag) V magnitude error real*4 b_y ! (mag) b-y color index real*4 e_b_y ! (mag) b-y color index error real*4 m1 ! (mag) m1 color index real*4 e_m1 ! (mag) m1 color index error real*4 c1 ! (mag) c1 color index real*4 e_c1 ! (mag) c1 color index error real*4 beta ! (mag) Hbeta index real*4 e_beta ! (mag) Hbeta index error integer*4 Teff ! (K) Effective Temperature real*4 logg ! ([cm/s2]) Surface gravity real*4 VMAG_1 ! (mag) Absolute V magnitude real*4 dm0 ! (mag) Distance modulus c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Stellar parameters derived for our sample stars integer*4 nr__1 parameter (nr__1=42) ! Number of records character*121 ar__1 ! Full-size record character*1 n_HIP ! [Kn] K: Kepler asteroseismic targets or * n: stars not selected as Kepler targets integer*4 HIP_1 ! Hipparcos number (I/239) character*1 m_HIP ! [AB] Multiplicity index in HIP integer*4 KIC ! ? Kepler Input Catalogue number real*4 Vmag_2 ! (mag) ? V magnitude real*4 Plx ! (mas) ? Hipparcos parallax real*4 e_Plx ! (mas) ? Parallax error character*2 SpT ! MK spectral type integer*4 e_SpT ! ? Spectral type error integer*4 Teff_1 ! (K) ? Effective temperature integer*4 e_Teff ! (K) ? Effective temperature error real*4 logg_1 ! ([cm/s2]) ? Surface gravity real*4 e_logg ! ([cm/s2]) ? Surface gravity error integer*4 vsini ! (km/s) ? Projected rotational velocity real*8 HJD ! (d) Reduced Heliocentric Julian Day (HJD-2400000) real*4 RV ! (km/s) Radial Velocity real*4 e_RV ! (km/s) Radial Velocity error real*4 logL ! (solLum) ? Luminosity real*4 e_logL ! (solLum) ? Luminosity error left (lower limit) real*4 E_logL_1 ! (solLum) ? Luminosity error right (upper limit) character*22 FileName ! Name of the FITS spectra in subdirectory sp c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Chemical abundances for 12 stars integer*4 nr__2 parameter (nr__2=106) ! Number of records character*21 ar__2 ! Full-size record integer*4 HIP_2 ! Hipparcos number (I/239) integer*4 Z ! Atomic number character*2 X ! Atomic symbol real*4 Abun ! ([Sun]) Abundance real*4 e_Abun ! ([Sun]) Abundance error C============================================================================= C Loading file 'table2.dat' ! Stromgren photometry for 14 stars C Format for file interpretation 1 format( + I5,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F6.3,1X, + F5.3,1X,F5.3,1X,F5.3,1X,I5,1X,F4.2,1X,F5.2,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,14 read(1,'(A92)')ar__ read(ar__,1) + HIP,Vmag,e_Vmag,b_y,e_b_y,m1,e_m1,c1,e_c1,beta,e_beta,Teff, + logg,VMAG_1,dm0 c ..............Just test output........... write(6,1) + HIP,Vmag,e_Vmag,b_y,e_b_y,m1,e_m1,c1,e_c1,beta,e_beta,Teff, + logg,VMAG_1,dm0 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Stellar parameters derived for our sample stars C Format for file interpretation 2 format( + A1,1X,I5,A1,1X,I8,1X,F5.2,1X,F5.2,1X,F4.2,1X,A2,1X,I1,1X,I5, + 1X,I4,1X,F3.1,1X,F3.1,1X,I3,1X,F9.3,1X,F5.1,1X,F4.1,1X,F4.2, + 1X,F4.2,1X,F4.2,1X,A22) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,42 read(1,'(A121)')ar__1 read(ar__1,2) + n_HIP,HIP_1,m_HIP,KIC,Vmag_2,Plx,e_Plx,SpT,e_SpT,Teff_1, + e_Teff,logg_1,e_logg,vsini,HJD,RV,e_RV,logL,e_logL,E_logL_1, + FileName if(ar__1(10:17) .EQ. '') KIC = iNULL__ if(ar__1(19:23) .EQ. '') Vmag_2 = rNULL__ if(ar__1(25:29) .EQ. '') Plx = rNULL__ if(ar__1(31:34) .EQ. '') e_Plx = rNULL__ if(ar__1(39:39) .EQ. '') e_SpT = iNULL__ if(ar__1(41:45) .EQ. '') Teff_1 = iNULL__ if(ar__1(47:50) .EQ. '') e_Teff = iNULL__ if(ar__1(52:54) .EQ. '') logg_1 = rNULL__ if(ar__1(56:58) .EQ. '') e_logg = rNULL__ if(ar__1(60:62) .EQ. '') vsini = iNULL__ if(ar__1(85:88) .EQ. '') logL = rNULL__ if(ar__1(90:93) .EQ. '') e_logL = rNULL__ if(ar__1(95:98) .EQ. '') E_logL_1 = rNULL__ c ..............Just test output........... write(6,2) + n_HIP,HIP_1,m_HIP,KIC,Vmag_2,Plx,e_Plx,SpT,e_SpT,Teff_1, + e_Teff,logg_1,e_logg,vsini,HJD,RV,e_RV,logL,e_logL,E_logL_1, + FileName c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! Chemical abundances for 12 stars C Format for file interpretation 3 format(I5,1X,I2,2X,A2,1X,F4.1,1X,F3.1) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,106 read(1,'(A21)')ar__2 read(ar__2,3)HIP_2,Z,X,Abun,e_Abun c ..............Just test output........... write(6,3)HIP_2,Z,X,Abun,e_Abun c .......End.of.Just test output........... end do close(1) C============================================================================= stop end