FORTRAN Generation
(/./ftp/cats/J/A_A/440/53)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/440/53 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.5, on 2013-May-21
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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/A+A/440/53        VRc light curves of SBSG 1520+530        (Gaynullina+, 2005)
*================================================================================
*Microlensing in the double quasar SBS1520+530.
*    Gaynullina E.R., Schmidt R.W., Akhunov T.  Burkhonov O., Gottloeber S.,
*    Mirtadjieva K., Nuritdinov S.N., Tadjibaev I., Wambsganss J., Wisotzki L.
*   <Astron. Astrophys. 440, 53 (2005)>
*   =2005A&A...440...53G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! R-band photometry of SBS1520+530

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

      real*8        RcmagA      ! (mag) Cousins R magnitude for image A
      real*4        e_RcmagA    ! (mag) Error on RcmagA
      real*8        RcmagB      ! (mag) Cousins R magnitude for image B
      real*4        e_RcmagB    ! (mag) Error on RcmagB
      real*8        JD          ! (d) Julian Date

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

C  Declarations for 'table2.dat'	! V-R colours of SBS1520+530

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

      real*8        v_V_Rc_A    ! (mag) Cousins V-R colour index for image A
      real*4        e__V_Rc_A   ! (mag) Error on (V-R)A
      real*8        v_V_Rc_B    ! (mag) Cousins V-R colour index for image B
      real*4        e__V_Rc_B   ! (mag) Error on (V-R)B
      real*8        JD_1        ! (d) Julian Date

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

C  Loading file 'table1.dat'	! R-band photometry of SBS1520+530

C  Format for file interpretation

    1 format(1X,F7.4,2X,F6.4,2X,F7.4,2X,F6.4,3X,F10.2)

C  Effective file loading

      open(unit=1,file='table1.dat', status='old')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,123
        read(1,'(A46)')ar__
        read(ar__,1)RcmagA,e_RcmagA,RcmagB,e_RcmagB,JD
c    ..............Just test output...........
        write(6,1)RcmagA,e_RcmagA,RcmagB,e_RcmagB,JD
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! V-R colours of SBS1520+530

C  Format for file interpretation

    2 format(1X,F7.4,2X,F6.4,2X,F7.4,2X,F6.4,3X,F10.2)

C  Effective file loading

      open(unit=1,file='table2.dat', status='old')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,80
        read(1,'(A46)')ar__1
        read(ar__1,2)v_V_Rc_A,e__V_Rc_A,v_V_Rc_B,e__V_Rc_B,JD_1
c    ..............Just test output...........
        write(6,2)v_V_Rc_A,e__V_Rc_A,v_V_Rc_B,e__V_Rc_B,JD_1
c    .......End.of.Just test output...........
      end do
      close(1)

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