Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/416/281 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-28 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/416/281 X-ray spectra of 4 cool stars (Sanz-forcada+, 2004) *================================================================================ *Coronal versus photospheric abundances of stars with different activity levels. * Sanz-forcada J., Favata F., Micela G. * <Astron. Astrophys., 416, 281-290 (2004)> * =2004A&A...416..281S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Chandra/LETG line fluxes of Procyon (6/7-Nov-1999) integer*4 nr__ parameter (nr__=146) ! Number of records character*135 ar__ ! Full-size record character*8 Ion ! Ion real*8 lambda ! (0.1nm) Wavelength of the line as identified in the * model. real*4 logTmax ! ([K]) ? Maximum temperature of formation of the line * (unweighted by the Emission Measure * Distribution) real*4 Fobs ! (mW/m2) Observed line flux real*4 S_N ! Signal-to-noise ratio real*4 Ratio ! ? log(observed flux/predicted flux) (1) character*94 Blends ! Blends to the main line amounting more than a * 5% of the total flux (2) *Note (1): The fluxes are in ergs units. Predicted flux includes * correction by interstellar medium absorption. *Note (2): For some lines not identified in Astrophysical Plasma * Emission Model, a tentative identification is suggested in this column * based on Kelly (1987, Atomic and ionic spectrum lines below 2000 * Angstroms. Hydrogen through Krypton (New York: American Institute of * Physics, Amer. Chem. Soc. and the Nat. Bureau of Standards)). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Chandra/LETG line fluxes of epsilon Eri (7-Nov-1999) integer*4 nr__1 parameter (nr__1=119) ! Number of records character*135 ar__1 ! Full-size record character*8 Ion_1 ! Ion real*8 lambda_1 ! (0.1nm) Wavelength of the line as identified in the * model. real*4 logTmax_1 ! ([K]) ? Maximum temperature of formation of the line * (unweighted by the Emission Measure * Distribution) real*4 Fobs_1 ! (mW/m2) Observed line flux real*4 S_N_1 ! Signal-to-noise ratio real*4 Ratio_1 ! ? log(observed flux/predicted flux) (1) character*94 Blends_1 ! Blends to the main line amounting more than a * 5% of the total flux (2) *Note (1): The fluxes are in ergs units. Predicted flux includes * correction by interstellar medium absorption. *Note (2): For some lines not identified in Astrophysical Plasma * Emission Model, a tentative identification is suggested in this column * based on Kelly (1987, Atomic and ionic spectrum lines below 2000 * Angstroms. Hydrogen through Krypton (New York: American Institute of * Physics, Amer. Chem. Soc. and the Nat. Bureau of Standards)). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! Chandra/HETG line fluxes of lambda And (21-Mar-2001) integer*4 nr__2 parameter (nr__2=148) ! Number of records character*135 ar__2 ! Full-size record character*8 Ion_2 ! Ion real*8 lambda_2 ! (0.1nm) Wavelength of the line as identified in the * model. real*4 logTmax_2 ! ([K]) ? Maximum temperature of formation of the line * (unweighted by the Emission Measure * Distribution) real*4 Fobs_2 ! (mW/m2) Observed line flux real*4 S_N_2 ! Signal-to-noise ratio real*4 Ratio_2 ! ? log(observed flux/predicted flux) (1) character*94 Blends_2 ! Blends to the main line amounting more than a * 5% of the total flux (2) *Note (1): The fluxes are in ergs units. Predicted flux includes * correction by interstellar medium absorption. *Note (2): For some lines not identified in Astrophysical Plasma * Emission Model, a tentative identification is suggested in this column * based on Kelly (1987, Atomic and ionic spectrum lines below 2000 * Angstroms. Hydrogen through Krypton (New York: American Institute of * Physics, Amer. Chem. Soc. and the Nat. Bureau of Standards)). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table7.dat' ! XMM/RGS line fluxes of V851 Cen (7-Mar-2003) integer*4 nr__3 parameter (nr__3=51) ! Number of records character*135 ar__3 ! Full-size record character*8 Ion_3 ! Ion real*8 lambda_3 ! (0.1nm) Wavelength of the line as identified in the * model. real*4 logTmax_3 ! ([K]) ? Maximum temperature of formation of the line * (unweighted by the Emission Measure * Distribution) real*4 Fobs_3 ! (mW/m2) Observed line flux real*4 S_N_3 ! Signal-to-noise ratio real*4 Ratio_3 ! ? log(observed flux/predicted flux) (1) character*94 Blends_3 ! Blends to the main line amounting more than a * 5% of the total flux (2) *Note (1): The fluxes are in ergs units. Predicted flux includes * correction by interstellar medium absorption. *Note (2): For some lines not identified in Astrophysical Plasma * Emission Model, a tentative identification is suggested in this column * based on Kelly (1987, Atomic and ionic spectrum lines below 2000 * Angstroms. Hydrogen through Krypton (New York: American Institute of * Physics, Amer. Chem. Soc. and the Nat. Bureau of Standards)). C============================================================================= C Loading file 'table4.dat' ! Chandra/LETG line fluxes of Procyon (6/7-Nov-1999) C Format for file interpretation 1 format(A8,F8.4,1X,F3.1,1X,E8.3,1X,F4.1,1X,F5.2,1X,A94) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,146 read(1,'(A135)')ar__ read(ar__,1)Ion,lambda,logTmax,Fobs,S_N,Ratio,Blends if(ar__(18:20) .EQ. '') logTmax = rNULL__ if(ar__(36:40) .EQ. '') Ratio = rNULL__ c ..............Just test output........... write(6,1)Ion,lambda,logTmax,Fobs,S_N,Ratio,Blends c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Chandra/LETG line fluxes of epsilon Eri (7-Nov-1999) C Format for file interpretation 2 format(A8,F8.4,1X,F3.1,1X,E8.3,1X,F4.1,1X,F5.2,1X,A94) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,119 read(1,'(A135)')ar__1 read(ar__1,2) + Ion_1,lambda_1,logTmax_1,Fobs_1,S_N_1,Ratio_1,Blends_1 if(ar__1(18:20) .EQ. '') logTmax_1 = rNULL__ if(ar__1(36:40) .EQ. '') Ratio_1 = rNULL__ c ..............Just test output........... write(6,2) + Ion_1,lambda_1,logTmax_1,Fobs_1,S_N_1,Ratio_1,Blends_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6.dat' ! Chandra/HETG line fluxes of lambda And (21-Mar-2001) C Format for file interpretation 3 format(A8,F8.4,1X,F3.1,1X,E8.3,1X,F4.1,1X,F5.2,1X,A94) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,148 read(1,'(A135)')ar__2 read(ar__2,3) + Ion_2,lambda_2,logTmax_2,Fobs_2,S_N_2,Ratio_2,Blends_2 if(ar__2(18:20) .EQ. '') logTmax_2 = rNULL__ if(ar__2(36:40) .EQ. '') Ratio_2 = rNULL__ c ..............Just test output........... write(6,3) + Ion_2,lambda_2,logTmax_2,Fobs_2,S_N_2,Ratio_2,Blends_2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table7.dat' ! XMM/RGS line fluxes of V851 Cen (7-Mar-2003) C Format for file interpretation 4 format(A8,F8.4,1X,F3.1,1X,E8.3,1X,F4.1,1X,F5.2,1X,A94) C Effective file loading open(unit=1,status='old',file= +'table7.dat') write(6,*) '....Loading file: table7.dat' do i__=1,51 read(1,'(A135)')ar__3 read(ar__3,4) + Ion_3,lambda_3,logTmax_3,Fobs_3,S_N_3,Ratio_3,Blends_3 if(ar__3(18:20) .EQ. '') logTmax_3 = rNULL__ if(ar__3(36:40) .EQ. '') Ratio_3 = rNULL__ c ..............Just test output........... write(6,4) + Ion_3,lambda_3,logTmax_3,Fobs_3,S_N_3,Ratio_3,Blends_3 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end