FORTRAN Generation
(/./ftp/cats/J/A_A/553/A121)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/553/A121 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-Aug-16
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/553/A121      2 lensed quasars light curves            (Eulaers+, 2013)
*================================================================================
*COSMOGRAIL: the COSmological MOnitoring of GRAvItational Lenses.
*XII. Time delays of the doubly lensed quasars SDSS J1206+4332 and HS 2209+1914.
*    Eulaers E., Tewes M., Magain P., Courbin F., Asfandiyarov I.,
*    Ehgamberdiev Sh., Rathna Kumar S., Stalin C.S., Prabhu T.P., Meylan G.,
*    Van Winckel H.
*   <Astron. Astrophys. 553, A121 (2013)>
*   =2013A&A...553A.121E
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'hs2209.dat'	! Photometry of HS 2209+1914 as in Figure 6

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

      real*8        MJD        (nr__) ! (d) Modified Julian date
      real*8        RAmag      (nr__) ! (mag) Relative R magnitude of quasar component A
      real*8        e_RAmag    (nr__) ! (mag) rms uncertainty on RAmag
      real*8        RBmag      (nr__) ! (mag) Relative R magnitude of quasar component B
      real*8        e_RBmag    (nr__) ! (mag) rms uncertainty on RBmag
      character*12  Tel        (nr__) ! Telescope used (1)
*Note (1): Telescopes as follows:
*    Mercator = Mercator 1.2m La Palma, Canary Islands, Spain
*      HS 2209+1914: 08/2004-12/2008; SDSS J1206+4332: 03/2005-12/2008
*    MaidanakSITE = AZT-22 1.5m,   Maidanak, Uzbekistan
*      HS 2209+1914: 05-08/2008; SDSS J1206+4332: 01/2005-07/2008
*    MaidanakSI = AZT-22 1.5m,   Maidanak, Uzbekistan
*      HS 2209+1914: May-Oct2007 + 09-10/2008 ; SDSS J1206+4332: 2007
*    HTC = HCT 2m, Hanle, India
*      HS 2209+1914: 09/2007-08/2012; SDSS J1206+4332: 05/2007-07/2011
*    EulerC2 = Eler 2m Hanle, India
*      HS 2209+1914: 05/2004-10/2006

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

C  Declarations for 'j1206.dat'	! Photometry of SDSS J1206+4332 as in Figure 3

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

      real*8        MJD_1      (nr__1) ! (d) Modified Julian date
      real*8        RAmag_1    (nr__1) ! (mag) Relative R magnitude of quasar component A
      real*8        e_RAmag_1  (nr__1) ! (mag) rms uncertainty on RAmag
      real*8        RBmag_1    (nr__1) ! (mag) Relative R magnitude of quasar component B
      real*8        e_RBmag_1  (nr__1) ! (mag) rms uncertainty on RBmag
      character*12  Tel_1      (nr__1) ! Telescope used (1)
*Note (1): Telescopes as follows:
*    Mercator = Mercator 1.2m La Palma, Canary Islands, Spain
*      HS 2209+1914: 08/2004-12/2008; SDSS J1206+4332: 03/2005-12/2008
*    MaidanakSITE = AZT-22 1.5m,   Maidanak, Uzbekistan
*      HS 2209+1914: 05-08/2008; SDSS J1206+4332: 01/2005-07/2008
*    MaidanakSI = AZT-22 1.5m,   Maidanak, Uzbekistan
*      HS 2209+1914: May-Oct2007 + 09-10/2008 ; SDSS J1206+4332: 2007
*    HTC = HCT 2m, Hanle, India
*      HS 2209+1914: 09/2007-08/2012; SDSS J1206+4332: 05/2007-07/2011
*    EulerC2 = Eler 2m Hanle, India
*      HS 2209+1914: 05/2004-10/2006

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

C  Loading file 'hs2209.dat'	! Photometry of HS 2209+1914 as in Figure 6

C  Format for file interpretation

    1 format(F11.5,1X,F9.5,1X,F7.5,1X,F9.5,1X,F7.5,1X,A12)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hs2209.dat')
      write(6,*) '....Loading file: hs2209.dat'
      do i__=1,439
        read(1,'(A60)')ar__
        read(ar__,1)
     +  MJD(i__),RAmag(i__),e_RAmag(i__),RBmag(i__),e_RBmag(i__),
     +  Tel(i__)
c    ..............Just test output...........
        write(6,1)
     +  MJD(i__),RAmag(i__),e_RAmag(i__),RBmag(i__),e_RBmag(i__),
     +  Tel(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j1206.dat'	! Photometry of SDSS J1206+4332 as in Figure 3

C  Format for file interpretation

    2 format(F11.5,1X,F9.5,1X,F7.5,1X,F9.5,1X,F7.5,1X,A12)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j1206.dat')
      write(6,*) '....Loading file: j1206.dat'
      do i__=1,382
        read(1,'(A60)')ar__1
        read(ar__1,2)
     +  MJD_1(i__),RAmag_1(i__),e_RAmag_1(i__),RBmag_1(i__),
     +  e_RBmag_1(i__),Tel_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  MJD_1(i__),RAmag_1(i__),e_RAmag_1(i__),RBmag_1(i__),
     +  e_RBmag_1(i__),Tel_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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