FORTRAN Generation
(/./ftp/cats/J/A_A/507/929)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/507/929 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-Apr-20
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/507/929   Light curves of SDSS J100658.40+233724.4  (Southworth+, 2009)
*================================================================================
*Orbital periods of cataclysmic variables identified by the SDSS.
*VI. The 4.5-hr period eclipsing system SDSS J100658.40+233724.
*    Southworth J., Hickman R.D.G., Marsh T.R., Rebassa-Mansergas A.,
*    Gansicke B.T., Copperwheat C.M., Rodriguez-Gil P.
*   <Astron. Astrophys. 507, 929 (2009)>
*   =2009A&A...507..929S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'caha.dat'	! White-light photometry from Calar Alto 2.2m

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

      real*8        HJD        (nr__) ! (d) Heliocentric Julian Date of exposure midpoint
      real*4        mag        (nr__) ! (mag) Apparent magnitude of SDSS J100658.40+233724.4
      real*4        e_mag      (nr__) ! (mag) Measurement error in apparent magnitude

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

C  Declarations for 'not.dat'	! Wide-V-filter photometry from the NOT 2.5m

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

      real*8        HJD_1      (nr__1) ! (d) Heliocentric Julian Date of exposure midpoint
      real*4        mag_1      (nr__1) ! (mag) Apparent magnitude of SDSS J100658.40+233724.4
      real*4        e_mag_1    (nr__1) ! (mag) Measurement error in apparent magnitude

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

C  Declarations for 'obs.dat'	! Spectroscopic observations

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

      real*8        HJD_2      (nr__2) ! (d) Heliocentric Julian Date of observation
      character*4   Band       (nr__2) ! [red blue] Red or blue
      character*11  FileName   (nr__2) ! Name of the fits file in sp subdirectory

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

C  Loading file 'caha.dat'	! White-light photometry from Calar Alto 2.2m

C  Format for file interpretation

    1 format(F14.6,2X,F6.3,2X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'caha.dat')
      write(6,*) '....Loading file: caha.dat'
      do i__=1,784
        read(1,'(A29)')ar__
        read(ar__,1)HJD(i__),mag(i__),e_mag(i__)
c    ..............Just test output...........
        write(6,1)HJD(i__),mag(i__),e_mag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'not.dat'	! Wide-V-filter photometry from the NOT 2.5m

C  Format for file interpretation

    2 format(F14.6,2X,F6.3,2X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'not.dat')
      write(6,*) '....Loading file: not.dat'
      do i__=1,559
        read(1,'(A29)')ar__1
        read(ar__1,2)HJD_1(i__),mag_1(i__),e_mag_1(i__)
c    ..............Just test output...........
        write(6,2)HJD_1(i__),mag_1(i__),e_mag_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'obs.dat'	! Spectroscopic observations

C  Format for file interpretation

    3 format(F17.9,1X,A4,1X,A11)

C  Effective file loading

      open(unit=1,status='old',file=
     +'obs.dat')
      write(6,*) '....Loading file: obs.dat'
      do i__=1,157
        read(1,'(A34)')ar__2
        read(ar__2,3)HJD_2(i__),Band(i__),FileName(i__)
c    ..............Just test output...........
        write(6,3)HJD_2(i__),Band(i__),FileName(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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