Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/625/A122 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-Jun-08
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/625/A122 CIELO-RGS, soft X-ray ionized emission lines catalog (Mao+, 2019)
*================================================================================
*CIELO-RGS: a catalogue of soft X-ray ionized emission lines.
* Mao J., Kaastra J.S., Guainazzi M., Gonzalez-Riestra R.,
* Santos-Lleo M., Kretschmar P., Grinberg V., Kalfountzou E., Ibarra A.,
* Matzeu G., Parker M., Rodriguez-Pascual P.
* <Astron. Astrophys. 625, A122 (2019)>
* =2019A&A...625A.122M (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'cielorgs.dat' ! The catalog of emission lines
integer*4 nr__
parameter (nr__=11999) ! Number of records
character*163 ar__ ! Full-size record
character*10 ObsIDs ! Observation ID
real*4 lambda ! (0.1nm) Observed wavelength of the line (1)
real*4 e_lambda ! (0.1nm) The uncertainty of the wavelength (1)
real*4 E_lambda_1 ! (0.1nm) The uncertainty of the wavelength (1)
real*4 Width ! (0.1nm) Observed FWHM of the line (1)
real*4 e_Width ! (0.1nm) The uncertainty of the FWHM (1)
real*4 E_Width_1 ! (0.1nm) The uncertainty of the FWHM (1)
real*4 Norm ! (10+44ph/s) Observed normalization of the line (1)
real*4 e_Norm ! (10+44ph/s) The uncertainty of the Norm (1)
real*4 E_Norm_1 ! (10+44ph/s) The uncertainty of the Norm (1)
real*4 Fluxeng ! (W/m+2) Observed energy flux of the line (1)
real*4 Fluxph ! (ph/m+*2/s) Observed photon flux of the line (1)
real*4 cFluxpho ! (10ph/m+*2/s/nm) Modeled (spline) continuum flux density
* at the line center (ph/m^2^/s/{AA}) (1)
real*4 EW ! (0.1nm) Equivalent width of the line (1)
real*4 z ! Redshift (1)
character*20 Target ! Observation target bname
*Note (1): All the quantities are derived directly from the observed spectra
* with *NO* correction for any redshift or Galactic absorption.
C=============================================================================
C Loading file 'cielorgs.dat' ! The catalog of emission lines
C Format for file interpretation
1 format(
+ A10,2X,F6.3,3X,F5.3,3X,F5.3,2X,F6.3,3X,F5.3,3X,F5.3,1X,E10.3,
+ 1X,E10.3,1X,E10.3,1X,E10.3,1X,E10.3,1X,E10.3,1X,E10.3,1X,F6.4,
+ 1X,A20)
C Effective file loading
open(unit=1,status='old',file=
+'cielorgs.dat')
write(6,*) '....Loading file: cielorgs.dat'
do i__=1,11999
read(1,'(A163)')ar__
read(ar__,1)
+ ObsIDs,lambda,e_lambda,E_lambda_1,Width,e_Width,E_Width_1,
+ Norm,e_Norm,E_Norm_1,Fluxeng,Fluxph,cFluxpho,EW,z,Target
c ..............Just test output...........
write(6,1)
+ ObsIDs,lambda,e_lambda,E_lambda_1,Width,e_Width,E_Width_1,
+ Norm,e_Norm,E_Norm_1,Fluxeng,Fluxph,cFluxpho,EW,z,Target
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end