Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/366/1003 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-Jun-10
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/366/1003 8500-8750{AA} high resolution spectroscopy. III. (Munari+, 2001)
*================================================================================
*High resolution spectroscopy over 8500-8750{AA} for GAIA. III.
*A library of synthetic spectra for 7750<T_eff_<50000K
* Castelli F., Munari U.
* <Astron. Astrophys. 366, 1003 (2001)>
* =2001A&A...366.1003C
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tables.dat' ! Main absorption lines in the interval 8490-8750{AA}
for different spectra of solar metallicity
(tables 2, 3 and 4 of the paper)
integer*4 nr__
parameter (nr__=645) ! Number of records
character*80 ar__ ! Full-size record
real*8 lambda (nr__) ! (0.1nm) Wavelength
integer*4 n_lambda (nr__) ! [1/5]? Number of components of unresolved blends
character*6 Ion (nr__) ! Identification
integer*4 Mult (nr__) ! ? Multiplet number
real*4 EP (nr__) ! (eV) Excitation potential of the lower level in eV
real*8 EP2 (nr__) ! (cm-1) Excitation potential of the lower level in cm^-1^
real*4 loggf (nr__) ! Oscillator strength
character*5 r_loggf (nr__) ! Source of loggf (1)
integer*4 Teff (nr__) ! (K) Effective temperature
real*4 logg (nr__) ! ([cm/s2]) Surface gravity
real*4 RCI (nr__) ! Residual central intensity for Teff and logg
*Note (1): Reference for loggf
* BWL: Black et al. 1972ApJ...177..567B
* FMW: Fuhr et al. 1988, Cat. <VI/72>
* FT: Friedrich and Trefftz, 1969, MPI-PAE/Astro, 29
* GUESS: guessed value
* K88: Kurucz 1988, Trans. IAU, XXB, McNally M. (ed.). Kluwer, p. 168
* K: unpublished and given in the Kurucz's line lists on CD-ROMs
* KP: Kurucz and Peytremann 1975, Cat. <VI/10>
* M: Murphy 1968ApJ...153..301M
* MC: McEachran and Cohen, 1971, JQSRT 11, 1819
* NBS: Wiese et al. 1966, NSRDS-NBS 4
C=============================================================================
C Loading file 'tables.dat' ! Main absorption lines in the interval 8490-8750{AA}
* for different spectra of solar metallicity
* (tables 2, 3 and 4 of the paper)
C Format for file interpretation
1 format(
+ F8.3,1X,I1,1X,A6,I4,1X,F5.2,1X,F10.3,1X,F6.3,1X,A5,1X,I5,1X,
+ F3.1,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'tables.dat')
write(6,*) '....Loading file: tables.dat'
do i__=1,645
read(1,'(A80)')ar__
read(ar__,1)
+ lambda(i__),n_lambda(i__),Ion(i__),Mult(i__),EP(i__),EP2(i__),
+ loggf(i__),r_loggf(i__),Teff(i__),logg(i__),RCI(i__)
if(ar__(10:10) .EQ. '') n_lambda(i__) = iNULL__
if(ar__(18:21) .EQ. '') Mult(i__) = iNULL__
c ..............Just test output...........
write(6,1)
+ lambda(i__),n_lambda(i__),Ion(i__),Mult(i__),EP(i__),EP2(i__),
+ loggf(i__),r_loggf(i__),Teff(i__),logg(i__),RCI(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end