FORTRAN Generation
(/./ftp/cats/J/AJ/132/1256)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/132/1256 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 2024-Mar-19
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/132/1256       eim BATC photometry of OJ 287            (Wu+, 2006)
*================================================================================
*Optical monitoring of BL Lacertae object OJ 287: a 40 day period?
*    Wu J., Zhou X., Wu X.-B., Liu F.-K., Peng B., Ma J., Wu Z., Jiang Z.,
*    Chen J.
*   <Astron. J., 132, 1256-1266 (2006)>
*   =2006AJ....132.1256W
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1.dat'	! Observational log and results in the BATC e band

      integer*4 nr__
      parameter (nr__=61)	! Number of records
      character*52 ar__   	! Full-size record

      character*10  Obs_Date   (nr__) ! ("YYYY/DD/MM") UT date of the Observation (1)
      character*10  Obs_Time   (nr__) ! ("h:m:s") UT time of the Observation (1)
      real*8        JD         (nr__) ! (d) Julian Date of the Observation (1)
      integer*4     Exp        (nr__) ! (s) Exposure time
      character*1   Band       (nr__) ! [eim] BATC band (2)
      real*4        mag        (nr__) ! (mag) BATC band magnitude
      real*4        e_mag      (nr__) ! (mag) Error in mag
*Note (1): We took part in the multiwavelength campaign on OJ 287 coordinated
*     by Stefano Ciprini during 2005 April 13-15 (JD2453473-475), so we do
*     not present the data in these days in Tables 1-3 but give a point (the
*     mean) per night in each light curve in Fig. 1.
*Note (2): the filter characteristics are (see Cat. II/262):
*    ---------------------------------
*      Filter Code  cw(nm)   FWHM(nm)
*    ---------------------------------
*        e          492.5      39
*        i          666.0      48
*        m          802.0      26
*    ---------------------------------

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2.dat'	! Observational log and results in the BATC i band

      integer*4 nr__1
      parameter (nr__1=60)	! Number of records
      character*52 ar__1  	! Full-size record

      character*10  Obs_Date_1 (nr__1) ! ("YYYY/DD/MM") UT date of the Observation (1)
      character*10  Obs_Time_1 (nr__1) ! ("h:m:s") UT time of the Observation (1)
      real*8        JD_1       (nr__1) ! (d) Julian Date of the Observation (1)
      integer*4     Exp_1      (nr__1) ! (s) Exposure time
      character*1   Band_1     (nr__1) ! [eim] BATC band (2)
      real*4        mag_1      (nr__1) ! (mag) BATC band magnitude
      real*4        e_mag_1    (nr__1) ! (mag) Error in mag
*Note (1): We took part in the multiwavelength campaign on OJ 287 coordinated
*     by Stefano Ciprini during 2005 April 13-15 (JD2453473-475), so we do
*     not present the data in these days in Tables 1-3 but give a point (the
*     mean) per night in each light curve in Fig. 1.
*Note (2): the filter characteristics are (see Cat. II/262):
*    ---------------------------------
*      Filter Code  cw(nm)   FWHM(nm)
*    ---------------------------------
*        e          492.5      39
*        i          666.0      48
*        m          802.0      26
*    ---------------------------------

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table3.dat'	! Observational log and results in the BATC m band

      integer*4 nr__2
      parameter (nr__2=57)	! Number of records
      character*52 ar__2  	! Full-size record

      character*10  Obs_Date_2 (nr__2) ! ("YYYY/DD/MM") UT date of the Observation (1)
      character*10  Obs_Time_2 (nr__2) ! ("h:m:s") UT time of the Observation (1)
      real*8        JD_2       (nr__2) ! (d) Julian Date of the Observation (1)
      integer*4     Exp_2      (nr__2) ! (s) Exposure time
      character*1   Band_2     (nr__2) ! [eim] BATC band (2)
      real*4        mag_2      (nr__2) ! (mag) BATC band magnitude
      real*4        e_mag_2    (nr__2) ! (mag) Error in mag
*Note (1): We took part in the multiwavelength campaign on OJ 287 coordinated
*     by Stefano Ciprini during 2005 April 13-15 (JD2453473-475), so we do
*     not present the data in these days in Tables 1-3 but give a point (the
*     mean) per night in each light curve in Fig. 1.
*Note (2): the filter characteristics are (see Cat. II/262):
*    ---------------------------------
*      Filter Code  cw(nm)   FWHM(nm)
*    ---------------------------------
*        e          492.5      39
*        i          666.0      48
*        m          802.0      26
*    ---------------------------------

C=============================================================================

C  Loading file 'table1.dat'	! Observational log and results in the BATC e band

C  Format for file interpretation

    1 format(A10,1X,A10,1X,F11.3,1X,I3,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,61
        read(1,'(A52)')ar__
        read(ar__,1)
     +  Obs_Date(i__),Obs_Time(i__),JD(i__),Exp(i__),Band(i__),
     +  mag(i__),e_mag(i__)
c    ..............Just test output...........
        write(6,1)
     +  Obs_Date(i__),Obs_Time(i__),JD(i__),Exp(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 i band

C  Format for file interpretation

    2 format(A10,1X,A10,1X,F11.3,1X,I3,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,60
        read(1,'(A52)')ar__1
        read(ar__1,2)
     +  Obs_Date_1(i__),Obs_Time_1(i__),JD_1(i__),Exp_1(i__),
     +  Band_1(i__),mag_1(i__),e_mag_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Obs_Date_1(i__),Obs_Time_1(i__),JD_1(i__),Exp_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 m band

C  Format for file interpretation

    3 format(A10,1X,A10,1X,F11.3,1X,I3,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,57
        read(1,'(A52)')ar__2
        read(ar__2,3)
     +  Obs_Date_2(i__),Obs_Time_2(i__),JD_2(i__),Exp_2(i__),
     +  Band_2(i__),mag_2(i__),e_mag_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  Obs_Date_2(i__),Obs_Time_2(i__),JD_2(i__),Exp_2(i__),
     +  Band_2(i__),mag_2(i__),e_mag_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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