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 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-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      (nr__) ! (deg) Right Ascension J2000
      real*8        DEdeg      (nr__) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*19  SDSS       (nr__) ! Star name (JHHMMSS.ss+DDMMSS.s)
      integer*4     RAh        (nr__) ! (h) Right ascension (J2000)
      integer*4     RAm        (nr__) ! (min) Right ascension (J2000)
      real*4        RAs        (nr__) ! (s) Right ascension (J2000)
      character*1   DE_        (nr__) ! Declination sign (J2000)
      integer*4     DEd        (nr__) ! (deg) Declination (J2000)
      integer*4     DEm        (nr__) ! (arcmin) Declination (J2000)
      real*4        DEs        (nr__) ! (arcsec) Declination (J2000)
      real*8        Period     (nr__) ! (d) ? Orbital period
      character*10  File_B     (nr__) ! Name of B light curve file
      character*10  File_V     (nr__) ! Name of V light curve file
      character*10  File_g     (nr__) ! Name of g light curve file
      character*10  File_r     (nr__) ! 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        (nr__1) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag        (nr__1) ! (mag) Apparent magnitude of the target star
      real*8        e_mag      (nr__1) ! (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      (nr__2) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_1      (nr__2) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_1    (nr__2) ! (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      (nr__3) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_2      (nr__3) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_2    (nr__3) ! (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      (nr__4) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_3      (nr__4) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_3    (nr__4) ! (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      (nr__5) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_4      (nr__5) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_4    (nr__5) ! (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      (nr__6) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_5      (nr__6) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_5    (nr__6) ! (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      (nr__7) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_6      (nr__7) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_6    (nr__7) ! (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      (nr__8) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_7      (nr__8) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_7    (nr__8) ! (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      (nr__9) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_8      (nr__9) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_8    (nr__9) ! (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      (nr__10) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_9      (nr__10) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_9    (nr__10) ! (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     (nr__11) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_10     (nr__11) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_10   (nr__11) ! (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     (nr__12) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_11     (nr__12) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_11   (nr__12) ! (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     (nr__13) ! (d) Heliocentric Julian date for the midpoint of each
*                               observation
      real*8        mag_12     (nr__13) ! (mag) Apparent magnitude of the target star
      real*8        e_mag_12   (nr__13) ! (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(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),Period(i__),File_B(i__),File_V(i__),
     +  File_g(i__),File_r(i__)
        if(ar__(51:60) .EQ. '') Period(i__) = rNULL__
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
        if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c    ..............Just test output...........
        write(6,1)
     +  SDSS(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),Period(i__),File_B(i__),File_V(i__),
     +  File_g(i__),File_r(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
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(i__),mag(i__),e_mag(i__)
c    ..............Just test output...........
        write(6,2)HJD(i__),mag(i__),e_mag(i__)
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(i__),mag_1(i__),e_mag_1(i__)
c    ..............Just test output...........
        write(6,3)HJD_1(i__),mag_1(i__),e_mag_1(i__)
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(i__),mag_2(i__),e_mag_2(i__)
c    ..............Just test output...........
        write(6,4)HJD_2(i__),mag_2(i__),e_mag_2(i__)
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(i__),mag_3(i__),e_mag_3(i__)
c    ..............Just test output...........
        write(6,5)HJD_3(i__),mag_3(i__),e_mag_3(i__)
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(i__),mag_4(i__),e_mag_4(i__)
c    ..............Just test output...........
        write(6,6)HJD_4(i__),mag_4(i__),e_mag_4(i__)
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(i__),mag_5(i__),e_mag_5(i__)
c    ..............Just test output...........
        write(6,7)HJD_5(i__),mag_5(i__),e_mag_5(i__)
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(i__),mag_6(i__),e_mag_6(i__)
c    ..............Just test output...........
        write(6,8)HJD_6(i__),mag_6(i__),e_mag_6(i__)
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(i__),mag_7(i__),e_mag_7(i__)
c    ..............Just test output...........
        write(6,9)HJD_7(i__),mag_7(i__),e_mag_7(i__)
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(i__),mag_8(i__),e_mag_8(i__)
c    ..............Just test output...........
        write(6,10)HJD_8(i__),mag_8(i__),e_mag_8(i__)
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(i__),mag_9(i__),e_mag_9(i__)
c    ..............Just test output...........
        write(6,11)HJD_9(i__),mag_9(i__),e_mag_9(i__)
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(i__),mag_10(i__),e_mag_10(i__)
c    ..............Just test output...........
        write(6,12)HJD_10(i__),mag_10(i__),e_mag_10(i__)
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(i__),mag_11(i__),e_mag_11(i__)
c    ..............Just test output...........
        write(6,13)HJD_11(i__),mag_11(i__),e_mag_11(i__)
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(i__),mag_12(i__),e_mag_12(i__)
c    ..............Just test output...........
        write(6,14)HJD_12(i__),mag_12(i__),e_mag_12(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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