Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/590/A118 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-12
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/590/A118 Differences of atlases of solar spectrum (Doerr+, 2016)
*================================================================================
*How different are the Liege and Hamburg atlases of the solar spectrum?
* Doerr H.-P., Vitas N., Fabbian D.
* <Astron. Astrophys. 590, A118 (2016)>
* =2016A&A...590A.118D (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'fitpar.dat' ! Results of the model fitting procedure
integer*4 nr__
parameter (nr__=7634) ! Number of records
character*77 ar__ ! Full-size record
real*8 lambda ! (nm) Wavelength of spectral line from PB73 (1)
real*8 L ! (pm) Fit parameter L (wavelength shift)
real*8 e_L ! (pm) 1-sigma error of L
real*4 S ! Fit parameter S (intensity scaling)
real*4 e_S ! 1-sigma error of S
real*4 B ! (pm) Fit parameter B (broadening)
real*4 e_B ! (pm) 1-sigma error of B
real*4 rchi2 ! Reduced chi^2^ (chi^2^/ndof) of fit
real*8 rms ! RMS of the residuals of the fit
*Note (1): PB73 for Pierce and Breckinridge (1973, The Kitt-Peak Table of Solar
* Spectrum Wavelengths, Vol. Contribution No. 559
* (Kitt Peak National Observatory, 1973apds.book.....D).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'liegepar.dat' ! Derived parameters of the Liege atlas
integer*4 nr__1
parameter (nr__1=7634) ! Number of records
character*26 ar__1 ! Full-size record
real*8 lambda_1 ! (nm) Wavelength of spectral line from PB73
real*8 R ! Estimated spectral resolving power
real*4 C ! Estimated position of the continuum (1)
*Note (1): continuum relative to the maximum intensity level of the Liege
* data. C is identical with S in file fitpar.dat.
C=============================================================================
C Loading file 'fitpar.dat' ! Results of the model fitting procedure
C Format for file interpretation
1 format(
+ F9.5,2X,F8.5,3X,F7.5,2X,F6.4,2X,F6.4,2X,F6.3,3X,F5.3,2X,F5.1,
+ 2X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'fitpar.dat')
write(6,*) '....Loading file: fitpar.dat'
do i__=1,7634
read(1,'(A77)')ar__
read(ar__,1)lambda,L,e_L,S,e_S,B,e_B,rchi2,rms
c ..............Just test output...........
write(6,1)lambda,L,e_L,S,e_S,B,e_B,rchi2,rms
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'liegepar.dat' ! Derived parameters of the Liege atlas
C Format for file interpretation
2 format(F9.5,2X,F7.0,2X,F6.4)
C Effective file loading
open(unit=1,status='old',file=
+'liegepar.dat')
write(6,*) '....Loading file: liegepar.dat'
do i__=1,7634
read(1,'(A26)')ar__1
read(ar__1,2)lambda_1,R,C
c ..............Just test output...........
write(6,2)lambda_1,R,C
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end