FORTRAN Generation
(/./ftp/cats/J/A_A/510/A100)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/510/A100 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 2024-Mar-19
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/510/A100      Four new SDSS eclipsing systems          (Southworth+, 2010)
*================================================================================
*Orbital periods of cataclysmic variables identified by the SDSS.
*VII. Four new eclipsing systems.
*    Southworth J., Copperwheat C.M., Gaensicke B.T., Pyrzas S.
*   <Astron. Astrophys. 510, A100 (2010)>
*   =2010A&A...510A.100S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'stars.dat'	! List of the stars

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg       ! (deg) Right Ascension J2000
      real*8        DEdeg       ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*19  SDSS        ! Star name (JHHMMSS.ss+DDMMSS.s)
      integer*4     RAh         ! (h) Right ascension (J2000)
      integer*4     RAm         ! (min) Right ascension (J2000)
      real*4        RAs         ! (s) Right ascension (J2000)
      character*1   DE_         ! Declination sign (J2000)
      integer*4     DEd         ! (deg) Declination (J2000)
      integer*4     DEm         ! (arcmin) Declination (J2000)
      real*4        DEs         ! (arcsec) Declination (J2000)
      real*8        Period      ! (d) ? Orbital period
      character*10  File_B      ! Name of B light curve file
      character*10  File_V      ! Name of V light curve file
      character*10  File_g      ! Name of g light curve file
      character*10  File_r      ! Name of r light curve file

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

C  Declarations for 'j0310b.dat'	! SDSS J031051.66-075500.2 NTT (B band) photometry

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

      real*8        HJD         ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag         ! (mag) Apparent magnitude of the target star
      real*8        e_mag       ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0743b.dat'	! SDSS J074355.55+183834.8 NTT (B band) photometry

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

      real*8        HJD_1       ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_1       ! (mag) Apparent magnitude of the target star
      real*8        e_mag_1     ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0746b.dat'	! SDSS J074640.61+173412.7 NTT (B band) photometry

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

      real*8        HJD_2       ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_2       ! (mag) Apparent magnitude of the target star
      real*8        e_mag_2     ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0750b.dat'	! SDSS J075059.97+141150.1 NTT (B band) photometry

      integer*4 nr__4
      parameter (nr__4=352)	! Number of records
      character*39 ar__4  	! Full-size record

      real*8        HJD_3       ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_3       ! (mag) Apparent magnitude of the target star
      real*8        e_mag_3     ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0750v.dat'	! SDSS J075059.97+141150.1 WHT (V band) photometry

      integer*4 nr__5
      parameter (nr__5=164)	! Number of records
      character*39 ar__5  	! Full-size record

      real*8        HJD_4       ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_4       ! (mag) Apparent magnitude of the target star
      real*8        e_mag_4     ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0758b.dat'	! SDSS J075808.81+104345.5 NTT (B band) photometry

      integer*4 nr__6
      parameter (nr__6=177)	! Number of records
      character*39 ar__6  	! Full-size record

      real*8        HJD_5       ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_5       ! (mag) Apparent magnitude of the target star
      real*8        e_mag_5     ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0906b.dat'	! SDSS J090628.24+052656.9 INT (B band) photometry

      integer*4 nr__7
      parameter (nr__7=238)	! Number of records
      character*39 ar__7  	! Full-size record

      real*8        HJD_6       ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_6       ! (mag) Apparent magnitude of the target star
      real*8        e_mag_6     ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0906r.dat'	! SDSS J090628.24+052656.9 INT (R band) photometry

      integer*4 nr__8
      parameter (nr__8=85)	! Number of records
      character*39 ar__8  	! Full-size record

      real*8        HJD_7       ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_7       ! (mag) Apparent magnitude of the target star
      real*8        e_mag_7     ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0906g.dat'	! SDSS J090628.24+052656.9 INT (g band) photometry

      integer*4 nr__9
      parameter (nr__9=179)	! Number of records
      character*39 ar__9  	! Full-size record

      real*8        HJD_8       ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_8       ! (mag) Apparent magnitude of the target star
      real*8        e_mag_8     ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0924b.dat'	! SDSS J092444.48+080150.9 NTT (B band) photometry

      integer*4 nr__10
      parameter (nr__10=256)	! Number of records
      character*39 ar__10 	! Full-size record

      real*8        HJD_9       ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_9       ! (mag) Apparent magnitude of the target star
      real*8        e_mag_9     ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j0924v.dat'	! SDSS J092444.48+080150.9 WHT (V band) photometry

      integer*4 nr__11
      parameter (nr__11=75)	! Number of records
      character*39 ar__11 	! Full-size record

      real*8        HJD_10      ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_10      ! (mag) Apparent magnitude of the target star
      real*8        e_mag_10    ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j1152v.dat'	! SDSS J115207.00+404947.8 WHT (V band) photometry

      integer*4 nr__12
      parameter (nr__12=562)	! Number of records
      character*39 ar__12 	! Full-size record

      real*8        HJD_11      ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_11      ! (mag) Apparent magnitude of the target star
      real*8        e_mag_11    ! (mag) Measurement error of the apparent magnitude

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

C  Declarations for 'j1524v.dat'	! SDSS J152419.33+220920.1 WHT (V band) photometry

      integer*4 nr__13
      parameter (nr__13=756)	! Number of records
      character*39 ar__13 	! Full-size record

      real*8        HJD_12      ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_12      ! (mag) Apparent magnitude of the target star
      real*8        e_mag_12    ! (mag) Measurement error of the apparent magnitude

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

C  Loading file 'stars.dat'	! List of the stars

C  Format for file interpretation

    1 format(
     +  5X,A19,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F10.8,1X,
     +  A10,1X,A10,1X,A10,1X,A10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'stars.dat')
      write(6,*) '....Loading file: stars.dat'
      do i__=1,9
        read(1,'(A104)')ar__
        read(ar__,1)
     +  SDSS,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Period,File_B,File_V,File_g,
     +  File_r
        if(ar__(51:60) .EQ. '') Period = rNULL__
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
        if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
        if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c    ..............Just test output...........
        write(6,1)
     +  SDSS,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Period,File_B,File_V,File_g,
     +  File_r
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0310b.dat'	! SDSS J031051.66-075500.2 NTT (B band) photometry

C  Format for file interpretation

    2 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0310b.dat')
      write(6,*) '....Loading file: j0310b.dat'
      do i__=1,105
        read(1,'(A39)')ar__1
        read(ar__1,2)HJD,mag,e_mag
c    ..............Just test output...........
        write(6,2)HJD,mag,e_mag
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0743b.dat'	! SDSS J074355.55+183834.8 NTT (B band) photometry

C  Format for file interpretation

    3 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0743b.dat')
      write(6,*) '....Loading file: j0743b.dat'
      do i__=1,122
        read(1,'(A39)')ar__2
        read(ar__2,3)HJD_1,mag_1,e_mag_1
c    ..............Just test output...........
        write(6,3)HJD_1,mag_1,e_mag_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0746b.dat'	! SDSS J074640.61+173412.7 NTT (B band) photometry

C  Format for file interpretation

    4 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0746b.dat')
      write(6,*) '....Loading file: j0746b.dat'
      do i__=1,182
        read(1,'(A39)')ar__3
        read(ar__3,4)HJD_2,mag_2,e_mag_2
c    ..............Just test output...........
        write(6,4)HJD_2,mag_2,e_mag_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0750b.dat'	! SDSS J075059.97+141150.1 NTT (B band) photometry

C  Format for file interpretation

    5 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0750b.dat')
      write(6,*) '....Loading file: j0750b.dat'
      do i__=1,352
        read(1,'(A39)')ar__4
        read(ar__4,5)HJD_3,mag_3,e_mag_3
c    ..............Just test output...........
        write(6,5)HJD_3,mag_3,e_mag_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0750v.dat'	! SDSS J075059.97+141150.1 WHT (V band) photometry

C  Format for file interpretation

    6 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0750v.dat')
      write(6,*) '....Loading file: j0750v.dat'
      do i__=1,164
        read(1,'(A39)')ar__5
        read(ar__5,6)HJD_4,mag_4,e_mag_4
c    ..............Just test output...........
        write(6,6)HJD_4,mag_4,e_mag_4
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0758b.dat'	! SDSS J075808.81+104345.5 NTT (B band) photometry

C  Format for file interpretation

    7 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0758b.dat')
      write(6,*) '....Loading file: j0758b.dat'
      do i__=1,177
        read(1,'(A39)')ar__6
        read(ar__6,7)HJD_5,mag_5,e_mag_5
c    ..............Just test output...........
        write(6,7)HJD_5,mag_5,e_mag_5
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0906b.dat'	! SDSS J090628.24+052656.9 INT (B band) photometry

C  Format for file interpretation

    8 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0906b.dat')
      write(6,*) '....Loading file: j0906b.dat'
      do i__=1,238
        read(1,'(A39)')ar__7
        read(ar__7,8)HJD_6,mag_6,e_mag_6
c    ..............Just test output...........
        write(6,8)HJD_6,mag_6,e_mag_6
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0906r.dat'	! SDSS J090628.24+052656.9 INT (R band) photometry

C  Format for file interpretation

    9 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0906r.dat')
      write(6,*) '....Loading file: j0906r.dat'
      do i__=1,85
        read(1,'(A39)')ar__8
        read(ar__8,9)HJD_7,mag_7,e_mag_7
c    ..............Just test output...........
        write(6,9)HJD_7,mag_7,e_mag_7
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0906g.dat'	! SDSS J090628.24+052656.9 INT (g band) photometry

C  Format for file interpretation

   10 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0906g.dat')
      write(6,*) '....Loading file: j0906g.dat'
      do i__=1,179
        read(1,'(A39)')ar__9
        read(ar__9,10)HJD_8,mag_8,e_mag_8
c    ..............Just test output...........
        write(6,10)HJD_8,mag_8,e_mag_8
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0924b.dat'	! SDSS J092444.48+080150.9 NTT (B band) photometry

C  Format for file interpretation

   11 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0924b.dat')
      write(6,*) '....Loading file: j0924b.dat'
      do i__=1,256
        read(1,'(A39)')ar__10
        read(ar__10,11)HJD_9,mag_9,e_mag_9
c    ..............Just test output...........
        write(6,11)HJD_9,mag_9,e_mag_9
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j0924v.dat'	! SDSS J092444.48+080150.9 WHT (V band) photometry

C  Format for file interpretation

   12 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j0924v.dat')
      write(6,*) '....Loading file: j0924v.dat'
      do i__=1,75
        read(1,'(A39)')ar__11
        read(ar__11,12)HJD_10,mag_10,e_mag_10
c    ..............Just test output...........
        write(6,12)HJD_10,mag_10,e_mag_10
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j1152v.dat'	! SDSS J115207.00+404947.8 WHT (V band) photometry

C  Format for file interpretation

   13 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j1152v.dat')
      write(6,*) '....Loading file: j1152v.dat'
      do i__=1,562
        read(1,'(A39)')ar__12
        read(ar__12,13)HJD_11,mag_11,e_mag_11
c    ..............Just test output...........
        write(6,13)HJD_11,mag_11,e_mag_11
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'j1524v.dat'	! SDSS J152419.33+220920.1 WHT (V band) photometry

C  Format for file interpretation

   14 format(F15.7,2X,F10.7,3X,F9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j1524v.dat')
      write(6,*) '....Loading file: j1524v.dat'
      do i__=1,756
        read(1,'(A39)')ar__13
        read(ar__13,14)HJD_12,mag_12,e_mag_12
c    ..............Just test output...........
        write(6,14)HJD_12,mag_12,e_mag_12
c    .......End.of.Just test output...........
      end do
      close(1)

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