Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/682/A151 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-Sep-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/682/A151 SALT spectrum of CXOU J005440.5-374320 (Sacchi+, 2024)
*================================================================================
*A soft and transient ultraluminous X-ray source with six-hour modulation in the
*NGC 300 galaxy.
* Sacchi A., Esposito P., de Martino D., Soria R., Israel G.L., Sander A.A.C.,
* Sidoli L., Buckley D.A.H., Monageng I.M., Tiengo A., Arca Sedda M.,
* Pinto C., Di Stefano R., Imbrogno M., Carleo A., Rivolta G.
* <Astron. Astrophys. 682, A151 (2024)>
* =2024A&A...682A.151S (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'spectrum.dat' ! SALT spectrum of CXOU J005440.5-374320
integer*4 nr__
parameter (nr__=3158) ! Number of records
character*30 ar__ ! Full-size record
real*8 lambda (nr__) ! (0.1nm) Wavelength
real*8 Counts (nr__) ! (ct) Counts
C=============================================================================
C Loading file 'spectrum.dat' ! SALT spectrum of CXOU J005440.5-374320
C Format for file interpretation
1 format(F16.11,1X,F13.7)
C Effective file loading
open(unit=1,status='old',file=
+'spectrum.dat')
write(6,*) '....Loading file: spectrum.dat'
do i__=1,3158
read(1,'(A30)')ar__
read(ar__,1)lambda(i__),Counts(i__)
c ..............Just test output...........
write(6,1)lambda(i__),Counts(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end