Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/573/A61 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-Oct-07
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/573/A61 Photometry of new eclipsing CVs (Southworth+, 2015)
*================================================================================
*Orbital periods of cataclysmic variables identified by the SDSS.
*IX. NTT photometry of eight eclipsing and three magnetic systems.
* Southworth J., Tappert C., Gaensicke B.T., Copperwheat C.M.
* <Astron. Astrophys. 573, A61 (2015)>
* =2015A&A...573A..61S
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'stars.dat' ! Full and abbreviated names, references and SDSS
apparent ugriz magnitudes of the targets (table1)
and orbital periods and CV classification
obtained in this work (table5)
integer*4 nr__
parameter (nr__=11) ! Number of records
character*118 ar__ ! Full-size record
character*24 Name (nr__) ! Name of the target star
character*9 SName (nr__) ! Short name of target star
integer*4 Ref (nr__) ! Reference (2)
real*4 umag (nr__) ! (mag) SDSS u magnitude
real*4 gmag (nr__) ! (mag) SDSS g magnitude
real*4 rmag (nr__) ! (mag) SDSS r magnitude
real*4 imag (nr__) ! (mag) SDSS i magnitude
real*4 zmag (nr__) ! (mag) SDSS z magnitude
real*4 gspec (nr__) ! (mag) ? Spectroscopic apparent magnitude (1)
character*1 LC (nr__) ! [*] * indicates photometric data in
* alldata.dat file
real*8 Per (nr__) ! (min) Orbital period
real*8 e_Per (nr__) ! (min) rms uncertainty on Per
character*1 u_Per (nr__) ! [)] Uncertainty flag on Per
character*24 Notes (nr__) ! Notes
*Note (1): gspec is a spectroscopic apparent magnitude calculated by convolving
* the SDSS flux-calibrated spectra with the g-band response function.
* These correspond to a different epoch to the photometric magnitudes, but may
* be affected by 'slit losses' due to errors in astrometry or fibre positioning.
*Note (2): References as follows:
* 1 = Szkody et al. (2007AJ....134..185S, Cat. J/AJ/134/185)
* 2 = Szkody et al. (2011AJ....142..181S, Cat. J/AJ/142/181)
* 3 = Szkody et al. (2009AJ....137.4011S)
* 4 = Szkody et al. (2005AJ....129.2386S)
* 5 = Southworth et al. (2009A&A...507..929S, Cat. J/A+A/507/929)
* 6 = Drake et al. (2009ApJ...696..870D, Cat. J/ApJ/696/870)
* 7 = Szkody et al. (2004AJ....128.1882S)
* 8 = Wils et al. (2010MNRAS.402..436W)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Log of the observations presented in this work
integer*4 nr__1
parameter (nr__1=33) ! Number of records
character*75 ar__1 ! Full-size record
character*9 SName_1 (nr__1) ! Short name of target star
character*10 Obs_date (nr__1) ! ("Y/M/D") Date of first observation in the observing
* sequence (UT)
character*5 Obs_time (nr__1) ! ("h:m") Start time (UT) (1)
character*5 t_end (nr__1) ! ("h:m") End time (UT) (1)
character*11 Tel (nr__1) ! Telescope/Instrument: "CA35/ LAICA" (Calar Alto
* 3.5m) or "NTT/ EFOSC2" (ESO)
character*13 Filt (nr__1) ! Optical element (grism or filter)
integer*4 Nobs (nr__1) ! [2/162] Number of observations
integer*4 Texp (nr__1) ! (s) [30/900] Exposure time
integer*4 Texp2 (nr__1) ! (s) [60/300]? Second exposure time
real*4 v_mag_ (nr__1) ! (mag) ? Mean magnitude in Filt (2)
*Note (1): The start and end times indicate the beginning of the first and
* last exposures in the observing sequence.
*Note (2): The mean magnitudes are calculated using only observations
* outside eclipses.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'alldata.dat' ! All photometry of the nine CVs studied
integer*4 nr__2
parameter (nr__2=1400) ! Number of records
character*44 ar__2 ! Full-size record
character*9 SName_2 (nr__2) ! Short name of target star
character*1 Filter (nr__2) ! [Bg] Filter used (B for Btyson, g for Gunn g)
real*8 HJD (nr__2) ! (d) Heliocentric JD for the midpoint of each
* observation, on the UTC timescale
real*8 mag (nr__2) ! (mag) Apparent magnitude of the target star
real*4 e_mag (nr__2) ! (mag) Measurement error of the apparent magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'css1325.dat' ! Spectrum of CSS J132536+210037
integer*4 nr__3
parameter (nr__3=880) ! Number of records
character*25 ar__3 ! Full-size record
real*8 lambda (nr__3) ! (0.1nm) Wavelength of summed pixel in spectrum
real*4 Counts (nr__3) ! (ct) Counts recorded over summed pixel
real*4 e_Counts (nr__3) ! (ct) Measurement error of the counts
C=============================================================================
C Loading file 'stars.dat' ! Full and abbreviated names, references and SDSS
* apparent ugriz magnitudes of the targets (table1)
* and orbital periods and CV classification
* obtained in this work (table5)
C Format for file interpretation
1 format(
+ A24,1X,A9,1X,I1,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,
+ F5.2,1X,A1,1X,F9.5,1X,F7.5,A1,1X,A24)
C Effective file loading
open(unit=1,status='old',file=
+'stars.dat')
write(6,*) '....Loading file: stars.dat'
do i__=1,11
read(1,'(A118)')ar__
read(ar__,1)
+ Name(i__),SName(i__),Ref(i__),umag(i__),gmag(i__),rmag(i__),
+ imag(i__),zmag(i__),gspec(i__),LC(i__),Per(i__),e_Per(i__),
+ u_Per(i__),Notes(i__)
if(ar__(68:72) .EQ. '') gspec(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ Name(i__),SName(i__),Ref(i__),umag(i__),gmag(i__),rmag(i__),
+ imag(i__),zmag(i__),gspec(i__),LC(i__),Per(i__),e_Per(i__),
+ u_Per(i__),Notes(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Log of the observations presented in this work
C Format for file interpretation
2 format(
+ A9,1X,A10,1X,A5,1X,A5,1X,A11,1X,A13,1X,I3,1X,I3,1X,I3,1X,F4.1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,33
read(1,'(A75)')ar__1
read(ar__1,2)
+ SName_1(i__),Obs_date(i__),Obs_time(i__),t_end(i__),Tel(i__),
+ Filt(i__),Nobs(i__),Texp(i__),Texp2(i__),v_mag_(i__)
if(ar__1(68:70) .EQ. '') Texp2(i__) = iNULL__
if(ar__1(72:75) .EQ. '') v_mag_(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ SName_1(i__),Obs_date(i__),Obs_time(i__),t_end(i__),Tel(i__),
+ Filt(i__),Nobs(i__),Texp(i__),Texp2(i__),v_mag_(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'alldata.dat' ! All photometry of the nine CVs studied
C Format for file interpretation
3 format(A9,1X,A1,2X,F14.6,2X,F7.4,2X,F6.4)
C Effective file loading
open(unit=1,status='old',file=
+'alldata.dat')
write(6,*) '....Loading file: alldata.dat'
do i__=1,1400
read(1,'(A44)')ar__2
read(ar__2,3)
+ SName_2(i__),Filter(i__),HJD(i__),mag(i__),e_mag(i__)
c ..............Just test output...........
write(6,3)
+ SName_2(i__),Filter(i__),HJD(i__),mag(i__),e_mag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'css1325.dat' ! Spectrum of CSS J132536+210037
C Format for file interpretation
4 format(F9.4,2X,F6.2,2X,F6.2)
C Effective file loading
open(unit=1,status='old',file=
+'css1325.dat')
write(6,*) '....Loading file: css1325.dat'
do i__=1,880
read(1,'(A25)')ar__3
read(ar__3,4)lambda(i__),Counts(i__),e_Counts(i__)
c ..............Just test output...........
write(6,4)lambda(i__),Counts(i__),e_Counts(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end