Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/129/1818 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-May-17
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/AJ/129/1818 Photometry of S5 0716+714 (Wu+, 2005)
*================================================================================
*Optical monitoring of BL Lacertae object S5 0716+714 with high temporal
*resolution.
* Wu J., Peng B., Zhou X., Ma J., Jiang Z., Chen J.
* <Astron. J., 129, 1818-1826 (2005)>
* =2005AJ....129.1818W
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Observational log and results in the
BATC e band (4873{AA}) in Period 1
integer*4 nr__
parameter (nr__=85) ! Number of records
character*50 ar__ ! Full-size record
integer*8 Obs_Date (nr__) ! ("YYYY/MM/DD") UT date of observation
integer*4 Obs_h (nr__) ! (h) UT hour of observation
integer*4 Obs_m (nr__) ! (min) UT minute of observation
integer*4 Obs_s (nr__) ! (s) UT second of observation
integer*4 Exp (nr__) ! (s) Exposure time
real*8 JD (nr__) ! (d) Julian date of observation
character*1 Band (nr__) ! [efki] BATC band
real*4 mag (nr__) ! (mag) Source magnitude in the band
real*4 e_mag (nr__) ! (mag) Error in mag
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Observational log and results in the
BATC f band (5248{AA}) in Period 1
integer*4 nr__1
parameter (nr__1=92) ! Number of records
character*50 ar__1 ! Full-size record
integer*8 Obs_Date_1 (nr__1) ! ("YYYY/MM/DD") UT date of observation
integer*4 Obs_h_1 (nr__1) ! (h) UT hour of observation
integer*4 Obs_m_1 (nr__1) ! (min) UT minute of observation
integer*4 Obs_s_1 (nr__1) ! (s) UT second of observation
integer*4 Exp_1 (nr__1) ! (s) Exposure time
real*8 JD_1 (nr__1) ! (d) Julian date of observation
character*1 Band_1 (nr__1) ! [efki] BATC band
real*4 mag_1 (nr__1) ! (mag) Source magnitude in the band
real*4 e_mag_1 (nr__1) ! (mag) Error in mag
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Observational log and results in the
BATC k band (7528{AA}) in Period 1
integer*4 nr__2
parameter (nr__2=84) ! Number of records
character*50 ar__2 ! Full-size record
integer*8 Obs_Date_2 (nr__2) ! ("YYYY/MM/DD") UT date of observation
integer*4 Obs_h_2 (nr__2) ! (h) UT hour of observation
integer*4 Obs_m_2 (nr__2) ! (min) UT minute of observation
integer*4 Obs_s_2 (nr__2) ! (s) UT second of observation
integer*4 Exp_2 (nr__2) ! (s) Exposure time
real*8 JD_2 (nr__2) ! (d) Julian date of observation
character*1 Band_2 (nr__2) ! [efki] BATC band
real*4 mag_2 (nr__2) ! (mag) Source magnitude in the band
real*4 e_mag_2 (nr__2) ! (mag) Error in mag
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Observational log and results in the
BATC e band (4873{AA}) in Period 2
integer*4 nr__3
parameter (nr__3=154) ! Number of records
character*50 ar__3 ! Full-size record
integer*8 Obs_Date_3 (nr__3) ! ("YYYY/MM/DD") UT date of observation
integer*4 Obs_h_3 (nr__3) ! (h) UT hour of observation
integer*4 Obs_m_3 (nr__3) ! (min) UT minute of observation
integer*4 Obs_s_3 (nr__3) ! (s) UT second of observation
integer*4 Exp_3 (nr__3) ! (s) Exposure time
real*8 JD_3 (nr__3) ! (d) Julian date of observation
character*1 Band_3 (nr__3) ! [efki] BATC band
real*4 mag_3 (nr__3) ! (mag) Source magnitude in the band
real*4 e_mag_3 (nr__3) ! (mag) Error in mag
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Observational log and results in the
BATC f band (5248{AA}) in Period 2
integer*4 nr__4
parameter (nr__4=147) ! Number of records
character*50 ar__4 ! Full-size record
integer*8 Obs_Date_4 (nr__4) ! ("YYYY/MM/DD") UT date of observation
integer*4 Obs_h_4 (nr__4) ! (h) UT hour of observation
integer*4 Obs_m_4 (nr__4) ! (min) UT minute of observation
integer*4 Obs_s_4 (nr__4) ! (s) UT second of observation
integer*4 Exp_4 (nr__4) ! (s) Exposure time
real*8 JD_4 (nr__4) ! (d) Julian date of observation
character*1 Band_4 (nr__4) ! [efki] BATC band
real*4 mag_4 (nr__4) ! (mag) Source magnitude in the band
real*4 e_mag_4 (nr__4) ! (mag) Error in mag
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Observational log and results in the
BATC i band (6711{AA}) in Period 2
integer*4 nr__5
parameter (nr__5=156) ! Number of records
character*50 ar__5 ! Full-size record
integer*8 Obs_Date_5 (nr__5) ! ("YYYY/MM/DD") UT date of observation
integer*4 Obs_h_5 (nr__5) ! (h) UT hour of observation
integer*4 Obs_m_5 (nr__5) ! (min) UT minute of observation
integer*4 Obs_s_5 (nr__5) ! (s) UT second of observation
integer*4 Exp_5 (nr__5) ! (s) Exposure time
real*8 JD_5 (nr__5) ! (d) Julian date of observation
character*1 Band_5 (nr__5) ! [efki] BATC band
real*4 mag_5 (nr__5) ! (mag) Source magnitude in the band
real*4 e_mag_5 (nr__5) ! (mag) Error in mag
C=============================================================================
C Loading file 'table1.dat' ! Observational log and results in the
* BATC e band (4873{AA}) in Period 1
C Format for file interpretation
1 format(
+ I10,1X,I2,1X,I2,1X,I2,1X,I3,1X,F11.3,1X,A1,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,85
read(1,'(A50)')ar__
read(ar__,1)
+ Obs_Date(i__),Obs_h(i__),Obs_m(i__),Obs_s(i__),Exp(i__),
+ JD(i__),Band(i__),mag(i__),e_mag(i__)
c ..............Just test output...........
write(6,1)
+ Obs_Date(i__),Obs_h(i__),Obs_m(i__),Obs_s(i__),Exp(i__),
+ JD(i__),Band(i__),mag(i__),e_mag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Observational log and results in the
* BATC f band (5248{AA}) in Period 1
C Format for file interpretation
2 format(
+ I10,1X,I2,1X,I2,1X,I2,1X,I3,1X,F11.3,1X,A1,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,92
read(1,'(A50)')ar__1
read(ar__1,2)
+ Obs_Date_1(i__),Obs_h_1(i__),Obs_m_1(i__),Obs_s_1(i__),
+ Exp_1(i__),JD_1(i__),Band_1(i__),mag_1(i__),e_mag_1(i__)
c ..............Just test output...........
write(6,2)
+ Obs_Date_1(i__),Obs_h_1(i__),Obs_m_1(i__),Obs_s_1(i__),
+ Exp_1(i__),JD_1(i__),Band_1(i__),mag_1(i__),e_mag_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Observational log and results in the
* BATC k band (7528{AA}) in Period 1
C Format for file interpretation
3 format(
+ I10,1X,I2,1X,I2,1X,I2,1X,I3,1X,F11.3,1X,A1,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,84
read(1,'(A50)')ar__2
read(ar__2,3)
+ Obs_Date_2(i__),Obs_h_2(i__),Obs_m_2(i__),Obs_s_2(i__),
+ Exp_2(i__),JD_2(i__),Band_2(i__),mag_2(i__),e_mag_2(i__)
c ..............Just test output...........
write(6,3)
+ Obs_Date_2(i__),Obs_h_2(i__),Obs_m_2(i__),Obs_s_2(i__),
+ Exp_2(i__),JD_2(i__),Band_2(i__),mag_2(i__),e_mag_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Observational log and results in the
* BATC e band (4873{AA}) in Period 2
C Format for file interpretation
4 format(
+ I10,1X,I2,1X,I2,1X,I2,1X,I3,1X,F11.3,1X,A1,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,154
read(1,'(A50)')ar__3
read(ar__3,4)
+ Obs_Date_3(i__),Obs_h_3(i__),Obs_m_3(i__),Obs_s_3(i__),
+ Exp_3(i__),JD_3(i__),Band_3(i__),mag_3(i__),e_mag_3(i__)
c ..............Just test output...........
write(6,4)
+ Obs_Date_3(i__),Obs_h_3(i__),Obs_m_3(i__),Obs_s_3(i__),
+ Exp_3(i__),JD_3(i__),Band_3(i__),mag_3(i__),e_mag_3(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Observational log and results in the
* BATC f band (5248{AA}) in Period 2
C Format for file interpretation
5 format(
+ I10,1X,I2,1X,I2,1X,I2,1X,I3,1X,F11.3,1X,A1,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,147
read(1,'(A50)')ar__4
read(ar__4,5)
+ Obs_Date_4(i__),Obs_h_4(i__),Obs_m_4(i__),Obs_s_4(i__),
+ Exp_4(i__),JD_4(i__),Band_4(i__),mag_4(i__),e_mag_4(i__)
c ..............Just test output...........
write(6,5)
+ Obs_Date_4(i__),Obs_h_4(i__),Obs_m_4(i__),Obs_s_4(i__),
+ Exp_4(i__),JD_4(i__),Band_4(i__),mag_4(i__),e_mag_4(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! Observational log and results in the
* BATC i band (6711{AA}) in Period 2
C Format for file interpretation
6 format(
+ I10,1X,I2,1X,I2,1X,I2,1X,I3,1X,F11.3,1X,A1,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,156
read(1,'(A50)')ar__5
read(ar__5,6)
+ Obs_Date_5(i__),Obs_h_5(i__),Obs_m_5(i__),Obs_s_5(i__),
+ Exp_5(i__),JD_5(i__),Band_5(i__),mag_5(i__),e_mag_5(i__)
c ..............Just test output...........
write(6,6)
+ Obs_Date_5(i__),Obs_h_5(i__),Obs_m_5(i__),Obs_s_5(i__),
+ Exp_5(i__),JD_5(i__),Band_5(i__),mag_5(i__),e_mag_5(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end