Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/698/A70 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-Aug-18
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/698/A70 SN 2023xqm UBVgri light curves (Zeng+, 2025)
*================================================================================
*SN 2023xqm: A gradually fading Ia supernova exhibiting isolated
*high-velocity signatures.
* Zeng X., Luo Y., Wang X., Yang Y., Li X., Huang Y., Zheng S., Zheng S.,
* Huang Y., Li S., Howell D.A., Bostroem K.A., McCully C., Esamdin A.,
* Andrews M., Farah R.J., Newsome M., Zhang H., Zhang P., Hu L.
* <Astron. Astrophys. 698, A70 (2025)>
* =2025A&A...698A..70Z (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Photometric standards used in the
SN 2023xqm field
integer*4 nr__
parameter (nr__=20) ! Number of records
character*80 ar__ ! Full-size record
integer*4 Star ! Star sequential number
real*4 Umag ! (mag) U magnitude
real*4 e_Umag ! (mag) U magnitude error
real*4 Bmag ! (mag) B magnitude
real*4 e_Bmag ! (mag) B magnitude error
real*4 Vmag ! (mag) V magnitude
real*4 e_Vmag ! (mag) V magnitude error
real*4 gmag ! (mag) g magnitude
real*4 e_gmag ! (mag) g magnitude error
real*4 rmag ! (mag) r magnitude
real*4 e_rmag ! (mag) r magnitude error
real*4 imag ! (mag) i magnitude
real*4 e_imag ! (mag) i magnitude error
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Optical photometric observations (UBVgri)
of SN 2023xqm
integer*4 nr__1
parameter (nr__1=56) ! Number of records
character*87 ar__1 ! Full-size record
real*8 MJD ! (d) Modified Julian date
real*4 Umag_1 ! (mag) ? U magnitude
real*4 e_Umag_1 ! (mag) ? U magnitude error
real*4 Bmag_1 ! (mag) B magnitude
real*4 e_Bmag_1 ! (mag) B magnitude error
real*4 Vmag_1 ! (mag) V magnitude
real*4 e_Vmag_1 ! (mag) V magnitude error
real*4 gmag_1 ! (mag) g magnitude
real*4 e_gmag_1 ! (mag) g magnitude error
real*4 rmag_1 ! (mag) r magnitude
real*4 e_rmag_1 ! (mag) r magnitude error
real*4 imag_1 ! (mag) i magnitude
real*4 e_imag_1 ! (mag) i magnitude error
C=============================================================================
C Loading file 'table1.dat' ! Photometric standards used in the
* SN 2023xqm field
C Format for file interpretation
1 format(
+ I2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
+ F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,20
read(1,'(A80)')ar__
read(ar__,1)
+ Star,Umag,e_Umag,Bmag,e_Bmag,Vmag,e_Vmag,gmag,e_gmag,rmag,
+ e_rmag,imag,e_imag
c ..............Just test output...........
write(6,1)
+ Star,Umag,e_Umag,Bmag,e_Bmag,Vmag,e_Vmag,gmag,e_gmag,rmag,
+ e_rmag,imag,e_imag
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Optical photometric observations (UBVgri)
* of SN 2023xqm
C Format for file interpretation
2 format(
+ F9.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
+ 1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,56
read(1,'(A87)')ar__1
read(ar__1,2)
+ MJD,Umag_1,e_Umag_1,Bmag_1,e_Bmag_1,Vmag_1,e_Vmag_1,gmag_1,
+ e_gmag_1,rmag_1,e_rmag_1,imag_1,e_imag_1
if(ar__1(11:16) .EQ. '') Umag_1 = rNULL__
if(ar__1(18:22) .EQ. '') e_Umag_1 = rNULL__
c ..............Just test output...........
write(6,2)
+ MJD,Umag_1,e_Umag_1,Bmag_1,e_Bmag_1,Vmag_1,e_Vmag_1,gmag_1,
+ e_gmag_1,rmag_1,e_rmag_1,imag_1,e_imag_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end