FORTRAN Generation
(/./ftp/cats/J/AJ/129/1818)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/129/1818 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-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    ! ("YYYY/MM/DD") UT date of observation
      integer*4     Obs_h       ! (h) UT hour of observation
      integer*4     Obs_m       ! (min) UT minute of observation
      integer*4     Obs_s       ! (s) UT second of observation
      integer*4     Exp         ! (s) Exposure time
      real*8        JD          ! (d) Julian date of observation
      character*1   Band        ! [efki] BATC band
      real*4        mag         ! (mag) Source magnitude in the band
      real*4        e_mag       ! (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  ! ("YYYY/MM/DD") UT date of observation
      integer*4     Obs_h_1     ! (h) UT hour of observation
      integer*4     Obs_m_1     ! (min) UT minute of observation
      integer*4     Obs_s_1     ! (s) UT second of observation
      integer*4     Exp_1       ! (s) Exposure time
      real*8        JD_1        ! (d) Julian date of observation
      character*1   Band_1      ! [efki] BATC band
      real*4        mag_1       ! (mag) Source magnitude in the band
      real*4        e_mag_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  ! ("YYYY/MM/DD") UT date of observation
      integer*4     Obs_h_2     ! (h) UT hour of observation
      integer*4     Obs_m_2     ! (min) UT minute of observation
      integer*4     Obs_s_2     ! (s) UT second of observation
      integer*4     Exp_2       ! (s) Exposure time
      real*8        JD_2        ! (d) Julian date of observation
      character*1   Band_2      ! [efki] BATC band
      real*4        mag_2       ! (mag) Source magnitude in the band
      real*4        e_mag_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  ! ("YYYY/MM/DD") UT date of observation
      integer*4     Obs_h_3     ! (h) UT hour of observation
      integer*4     Obs_m_3     ! (min) UT minute of observation
      integer*4     Obs_s_3     ! (s) UT second of observation
      integer*4     Exp_3       ! (s) Exposure time
      real*8        JD_3        ! (d) Julian date of observation
      character*1   Band_3      ! [efki] BATC band
      real*4        mag_3       ! (mag) Source magnitude in the band
      real*4        e_mag_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  ! ("YYYY/MM/DD") UT date of observation
      integer*4     Obs_h_4     ! (h) UT hour of observation
      integer*4     Obs_m_4     ! (min) UT minute of observation
      integer*4     Obs_s_4     ! (s) UT second of observation
      integer*4     Exp_4       ! (s) Exposure time
      real*8        JD_4        ! (d) Julian date of observation
      character*1   Band_4      ! [efki] BATC band
      real*4        mag_4       ! (mag) Source magnitude in the band
      real*4        e_mag_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  ! ("YYYY/MM/DD") UT date of observation
      integer*4     Obs_h_5     ! (h) UT hour of observation
      integer*4     Obs_m_5     ! (min) UT minute of observation
      integer*4     Obs_s_5     ! (s) UT second of observation
      integer*4     Exp_5       ! (s) Exposure time
      real*8        JD_5        ! (d) Julian date of observation
      character*1   Band_5      ! [efki] BATC band
      real*4        mag_5       ! (mag) Source magnitude in the band
      real*4        e_mag_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,Obs_h,Obs_m,Obs_s,Exp,JD,Band,mag,e_mag
c    ..............Just test output...........
        write(6,1)Obs_Date,Obs_h,Obs_m,Obs_s,Exp,JD,Band,mag,e_mag
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,Obs_h_1,Obs_m_1,Obs_s_1,Exp_1,JD_1,Band_1,mag_1,
     +  e_mag_1
c    ..............Just test output...........
        write(6,2)
     +  Obs_Date_1,Obs_h_1,Obs_m_1,Obs_s_1,Exp_1,JD_1,Band_1,mag_1,
     +  e_mag_1
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,Obs_h_2,Obs_m_2,Obs_s_2,Exp_2,JD_2,Band_2,mag_2,
     +  e_mag_2
c    ..............Just test output...........
        write(6,3)
     +  Obs_Date_2,Obs_h_2,Obs_m_2,Obs_s_2,Exp_2,JD_2,Band_2,mag_2,
     +  e_mag_2
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,Obs_h_3,Obs_m_3,Obs_s_3,Exp_3,JD_3,Band_3,mag_3,
     +  e_mag_3
c    ..............Just test output...........
        write(6,4)
     +  Obs_Date_3,Obs_h_3,Obs_m_3,Obs_s_3,Exp_3,JD_3,Band_3,mag_3,
     +  e_mag_3
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,Obs_h_4,Obs_m_4,Obs_s_4,Exp_4,JD_4,Band_4,mag_4,
     +  e_mag_4
c    ..............Just test output...........
        write(6,5)
     +  Obs_Date_4,Obs_h_4,Obs_m_4,Obs_s_4,Exp_4,JD_4,Band_4,mag_4,
     +  e_mag_4
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,Obs_h_5,Obs_m_5,Obs_s_5,Exp_5,JD_5,Band_5,mag_5,
     +  e_mag_5
c    ..............Just test output...........
        write(6,6)
     +  Obs_Date_5,Obs_h_5,Obs_m_5,Obs_s_5,Exp_5,JD_5,Band_5,mag_5,
     +  e_mag_5
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end