FORTRAN Generation
(/./ftp/cats/J/A_A/420/447)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/420/447 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-08
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/420/447   VRI photometry of lensed quasar QSO B2237+0305  (Vakulik+, 2004)
*================================================================================
*Color effects associated with the 1999 microlensing brightness peaks in
*gravitationally lensed quasar Q2237+0305.
*    Vakulik V.G., Schild R., Dudinov V.N., Minakov A.A., Nuritdinov S.N.,
*    Tsvetkova V.S., Zheleznyak A.P., Konichek V.V., Sinelnikov I.Ye.,
*    Burkhonov O.A.,B.P.Artamonov, Bruevich V.V.
*   <Astron. Astrophys. 420, 447 (2004)>
*   =2004A&A...420..447V
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table4.dat'	! Photometry of Q2237+0305A,B,C,D in the R band
                              from observations in 1995-1999.

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

      character*10  Obs_Date   (nr__) ! ("YYYY/MM/DD") Observation date
      real*4        RmagA      (nr__) ! (mag) R magnitude of the component A
      real*4        e_RmagA    (nr__) ! (mag) The mean error for A magnitude
      real*4        RmagB      (nr__) ! (mag) R magnitude of the component B
      real*4        e_RmagB    (nr__) ! (mag) The mean error for B magnitude
      real*4        RmagC      (nr__) ! (mag) R magnitude of the component C
      real*4        e_RmagC    (nr__) ! (mag) The mean error for C magnitude
      real*4        RmagD      (nr__) ! (mag) R magnitude of the component D
      real*4        e_RmagD    (nr__) ! (mag) The mean error for D magnitude
      real*4        FWHM       (nr__) ! (arcsec) Seeing, Full Width on Half Maximum
      character*6   CCD        (nr__) ! CCD camera
      real*4        Scale      (nr__) ! (arcsec/pix) Scale at the chip plane

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

C  Declarations for 'table5.dat'	! Photometry of Q2237+0305 A,B,C,D in the R band
                              from observation in 2000

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

      character*10  Obs_Date_1 (nr__1) ! ("YYYY/MM/DD") Date of observation
      real*4        RmagA_1    (nr__1) ! (mag) R magnitude of the component A
      real*4        e_RmagA_1  (nr__1) ! (mag) The mean error for A magnitude
      real*4        RmagB_1    (nr__1) ! (mag) R magnitude of the component B
      real*4        e_RmagB_1  (nr__1) ! (mag) The mean error for B magnitude
      real*4        RmagC_1    (nr__1) ! (mag) R magnitude of the component C
      real*4        e_RmagC_1  (nr__1) ! (mag) The mean error for C magnitude
      real*4        RmagD_1    (nr__1) ! (mag) R magnitude of the component D
      real*4        e_RmagD_1  (nr__1) ! (mag) The mean error for C magnitude
      real*4        FWHM_1     (nr__1) ! (arcsec) Seeing, Full Width on Half Maximum
      integer*4     NFrame     (nr__1) ! Number of frames in series

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

C  Declarations for 'table6.dat'	! VRI photometry of Q2237+0305 A,B,C,D, 1995-2000

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

      character*10  Obs_Date_2 (nr__2) ! ("YYYY/MM/DD") Date of observation
      real*4        magA       (nr__2) ! (mag) Magnitude of component A in Band "Band"
      real*4        e_magA     (nr__2) ! (mag) The mean error for A component
      real*4        magB       (nr__2) ! (mag) Magnitude of component B in Band "Band"
      real*4        e_magB     (nr__2) ! (mag) The mean error for B component
      real*4        magC       (nr__2) ! (mag) Magnitude of component C in Band "Band"
      real*4        e_magC     (nr__2) ! (mag) The mean error for C component
      real*4        magD       (nr__2) ! (mag) Magnitude of component D in Band "Band"
      real*4        e_magD     (nr__2) ! (mag) The mean error for D component
      character*1   Band       (nr__2) ! [VRI] Spectral band

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

C  Declarations for 'table7.dat'	! Color indices (V-R) and (V-I) of Q2237+0305
                              components

      integer*4 nr__3
      parameter (nr__3=17)	! Number of records
      character*50 ar__3  	! Full-size record

      character*10  Obs_Date_3 (nr__3) ! ("YYYY/MM/DD") Date of observation
      real*4        v_V_R_A    (nr__3) ! (mag) Color-index (V-R) for component A
      real*4        v_V_I_A    (nr__3) ! (mag) Color-index (V-I) for component A
      real*4        v_V_R_B    (nr__3) ! (mag) Color-index (V-R) for component B
      real*4        v_V_I_B    (nr__3) ! (mag) Color-index (V-I) for component B
      real*4        v_V_R_C    (nr__3) ! (mag) Color-index (V-R) for component C
      real*4        v_V_I_C    (nr__3) ! (mag) Color-index (V-I) for component C
      real*4        v_V_R_D    (nr__3) ! (mag) Color-index (V-R) for component D
      real*4        v_V_I_D    (nr__3) ! (mag) Color-index (V-I) for component D

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

C  Loading file 'table4.dat'	! Photometry of Q2237+0305A,B,C,D in the R band
*                              from observations in 1995-1999.

C  Format for file interpretation

    1 format(
     +  A10,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,
     +  1X,F4.2,1X,F4.2,1X,A6,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,31
        read(1,'(A72)')ar__
        read(ar__,1)
     +  Obs_Date(i__),RmagA(i__),e_RmagA(i__),RmagB(i__),e_RmagB(i__),
     +  RmagC(i__),e_RmagC(i__),RmagD(i__),e_RmagD(i__),FWHM(i__),
     +  CCD(i__),Scale(i__)
c    ..............Just test output...........
        write(6,1)
     +  Obs_Date(i__),RmagA(i__),e_RmagA(i__),RmagB(i__),e_RmagB(i__),
     +  RmagC(i__),e_RmagC(i__),RmagD(i__),e_RmagD(i__),FWHM(i__),
     +  CCD(i__),Scale(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! Photometry of Q2237+0305 A,B,C,D in the R band
*                              from observation in 2000

C  Format for file interpretation

    2 format(
     +  A10,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,F4.2,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,46
        read(1,'(A70)')ar__1
        read(ar__1,2)
     +  Obs_Date_1(i__),RmagA_1(i__),e_RmagA_1(i__),RmagB_1(i__),
     +  e_RmagB_1(i__),RmagC_1(i__),e_RmagC_1(i__),RmagD_1(i__),
     +  e_RmagD_1(i__),FWHM_1(i__),NFrame(i__)
c    ..............Just test output...........
        write(6,2)
     +  Obs_Date_1(i__),RmagA_1(i__),e_RmagA_1(i__),RmagB_1(i__),
     +  e_RmagB_1(i__),RmagC_1(i__),e_RmagC_1(i__),RmagD_1(i__),
     +  e_RmagD_1(i__),FWHM_1(i__),NFrame(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! VRI photometry of Q2237+0305 A,B,C,D, 1995-2000

C  Format for file interpretation

    3 format(
     +  A10,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,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,51
        read(1,'(A64)')ar__2
        read(ar__2,3)
     +  Obs_Date_2(i__),magA(i__),e_magA(i__),magB(i__),e_magB(i__),
     +  magC(i__),e_magC(i__),magD(i__),e_magD(i__),Band(i__)
c    ..............Just test output...........
        write(6,3)
     +  Obs_Date_2(i__),magA(i__),e_magA(i__),magB(i__),e_magB(i__),
     +  magC(i__),e_magC(i__),magD(i__),e_magD(i__),Band(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Color indices (V-R) and (V-I) of Q2237+0305
*                              components

C  Format for file interpretation

    4 format(
     +  A10,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,
     +  1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,17
        read(1,'(A50)')ar__3
        read(ar__3,4)
     +  Obs_Date_3(i__),v_V_R_A(i__),v_V_I_A(i__),v_V_R_B(i__),
     +  v_V_I_B(i__),v_V_R_C(i__),v_V_I_C(i__),v_V_R_D(i__),
     +  v_V_I_D(i__)
c    ..............Just test output...........
        write(6,4)
     +  Obs_Date_3(i__),v_V_R_A(i__),v_V_I_A(i__),v_V_R_B(i__),
     +  v_V_I_B(i__),v_V_R_C(i__),v_V_I_C(i__),v_V_R_D(i__),
     +  v_V_I_D(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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