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 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-Oct-05
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    ! ("YYYY/MM/DD") Observation date
      real*4        RmagA       ! (mag) R magnitude of the component A
      real*4        e_RmagA     ! (mag) The mean error for A magnitude
      real*4        RmagB       ! (mag) R magnitude of the component B
      real*4        e_RmagB     ! (mag) The mean error for B magnitude
      real*4        RmagC       ! (mag) R magnitude of the component C
      real*4        e_RmagC     ! (mag) The mean error for C magnitude
      real*4        RmagD       ! (mag) R magnitude of the component D
      real*4        e_RmagD     ! (mag) The mean error for D magnitude
      real*4        FWHM        ! (arcsec) Seeing, Full Width on Half Maximum
      character*6   CCD         ! CCD camera
      real*4        Scale       ! (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  ! ("YYYY/MM/DD") Date of observation
      real*4        RmagA_1     ! (mag) R magnitude of the component A
      real*4        e_RmagA_1   ! (mag) The mean error for A magnitude
      real*4        RmagB_1     ! (mag) R magnitude of the component B
      real*4        e_RmagB_1   ! (mag) The mean error for B magnitude
      real*4        RmagC_1     ! (mag) R magnitude of the component C
      real*4        e_RmagC_1   ! (mag) The mean error for C magnitude
      real*4        RmagD_1     ! (mag) R magnitude of the component D
      real*4        e_RmagD_1   ! (mag) The mean error for C magnitude
      real*4        FWHM_1      ! (arcsec) Seeing, Full Width on Half Maximum
      integer*4     NFrame      ! 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  ! ("YYYY/MM/DD") Date of observation
      real*4        magA        ! (mag) Magnitude of component A in Band "Band"
      real*4        e_magA      ! (mag) The mean error for A component
      real*4        magB        ! (mag) Magnitude of component B in Band "Band"
      real*4        e_magB      ! (mag) The mean error for B component
      real*4        magC        ! (mag) Magnitude of component C in Band "Band"
      real*4        e_magC      ! (mag) The mean error for C component
      real*4        magD        ! (mag) Magnitude of component D in Band "Band"
      real*4        e_magD      ! (mag) The mean error for D component
      character*1   Band        ! [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  ! ("YYYY/MM/DD") Date of observation
      real*4        v_V_R_A     ! (mag) Color-index (V-R) for component A
      real*4        v_V_I_A     ! (mag) Color-index (V-I) for component A
      real*4        v_V_R_B     ! (mag) Color-index (V-R) for component B
      real*4        v_V_I_B     ! (mag) Color-index (V-I) for component B
      real*4        v_V_R_C     ! (mag) Color-index (V-R) for component C
      real*4        v_V_I_C     ! (mag) Color-index (V-I) for component C
      real*4        v_V_R_D     ! (mag) Color-index (V-R) for component D
      real*4        v_V_I_D     ! (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,RmagA,e_RmagA,RmagB,e_RmagB,RmagC,e_RmagC,RmagD,
     +  e_RmagD,FWHM,CCD,Scale
c    ..............Just test output...........
        write(6,1)
     +  Obs_Date,RmagA,e_RmagA,RmagB,e_RmagB,RmagC,e_RmagC,RmagD,
     +  e_RmagD,FWHM,CCD,Scale
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,RmagA_1,e_RmagA_1,RmagB_1,e_RmagB_1,RmagC_1,
     +  e_RmagC_1,RmagD_1,e_RmagD_1,FWHM_1,NFrame
c    ..............Just test output...........
        write(6,2)
     +  Obs_Date_1,RmagA_1,e_RmagA_1,RmagB_1,e_RmagB_1,RmagC_1,
     +  e_RmagC_1,RmagD_1,e_RmagD_1,FWHM_1,NFrame
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,magA,e_magA,magB,e_magB,magC,e_magC,magD,e_magD,
     +  Band
c    ..............Just test output...........
        write(6,3)
     +  Obs_Date_2,magA,e_magA,magB,e_magB,magC,e_magC,magD,e_magD,
     +  Band
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,v_V_R_A,v_V_I_A,v_V_R_B,v_V_I_B,v_V_R_C,v_V_I_C,
     +  v_V_R_D,v_V_I_D
c    ..............Just test output...........
        write(6,4)
     +  Obs_Date_3,v_V_R_A,v_V_I_A,v_V_R_B,v_V_I_B,v_V_R_C,v_V_I_C,
     +  v_V_R_D,v_V_I_D
c    .......End.of.Just test output...........
      end do
      close(1)

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