FORTRAN Generation
(/./ftp/cats/J/MNRAS/381/602)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/381/602 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-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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/MNRAS/381/602     BV differential light curves of EQ Tau    (Yuan+, 2007)
*================================================================================
*Variation of the period and light curves of the solar-type contact binary
*EQ Tauri.
*    Yuan J., Qian S.
*   <Mon. Not. R. Astron. Soc., 381, 602-610 (2007)>
*   =2007MNRAS.381..602Y
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! CCD photometric data of EQ Tau in the B band
                              observed on 2000 October 30 and 31, and
                              2004 December 11, 12 and 18

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

      real*8        JD          ! (d) Julian date
      real*4        Dmag        ! (mag) Differential magnitude in B or V band

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

C  Declarations for 'table2.dat'	! CCD photometric data of EQ Tau in the V band
                              observed on 2000 October 30 and 31, and
                              2004 December 11, 12, 18, and 21

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

      real*8        JD_1        ! (d) Julian date
      real*4        Dmag_1      ! (mag) Differential magnitude in B or V band

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

C  Declarations for 'table4.dat'	! Time of light minimum for EQ Tauri

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

      real*8        HJD         ! (d) Heliocentric Julian date
      character*1   n_HJD       ! [a] Partial coverage (1)
      character*2   Min         ! [I II] First (I) or second (II) minimum
      character*3   Method      ! Method used (pg, pe, sp or CCD)
      real*8        E           ! (d) Ephemeris
      real*8        O_C         ! O-C value
      real*8        Res         ! Residuals
      integer*4     Ref         ! References, in refs.dat file
*Note (1): a = The times of minimum observed by Magalashvili & Kumsishvili
*     (1971, Abastumanskaia Astrofiz. Obs. Bull., 40, 2), which were
*     sometimes based on partial coverage of the light minimum.

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

C  Declarations for 'refs.dat'	! References

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

      integer*4     Ref_1       ! Reference number
      character*19  BibCode     ! BibCode
      character*19  Aut         ! Author's name
      character*71  Com         ! Comments

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

C  Loading file 'table1.dat'	! CCD photometric data of EQ Tau in the B band
*                              observed on 2000 October 30 and 31, and
*                              2004 December 11, 12 and 18

C  Format for file interpretation

    1 format(F12.4,1X,F5.3)

C  Effective file loading

      open(unit=1,file='table1.dat', status='old')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,257
        read(1,'(A18)')ar__
        read(ar__,1)JD,Dmag
c    ..............Just test output...........
        write(6,1)JD,Dmag
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! CCD photometric data of EQ Tau in the V band
*                              observed on 2000 October 30 and 31, and
*                              2004 December 11, 12, 18, and 21

C  Format for file interpretation

    2 format(F12.4,1X,F5.3)

C  Effective file loading

      open(unit=1,file='table2.dat', status='old')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,296
        read(1,'(A18)')ar__1
        read(ar__1,2)JD_1,Dmag_1
c    ..............Just test output...........
        write(6,2)JD_1,Dmag_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Time of light minimum for EQ Tauri

C  Format for file interpretation

    3 format(F13.5,A1,1X,A2,1X,A3,1X,F8.1,2X,F7.4,1X,F7.4,1X,I2)

C  Effective file loading

      open(unit=1,file='table4.dat', status='old')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,109
        read(1,'(A50)')ar__2
        read(ar__2,3)HJD,n_HJD,Min,Method,E,O_C,Res,Ref
c    ..............Just test output...........
        write(6,3)HJD,n_HJD,Min,Method,E,O_C,Res,Ref
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'refs.dat'	! References

C  Format for file interpretation

    4 format(I2,1X,A19,1X,A19,1X,A71)

C  Effective file loading

      open(unit=1,file='refs.dat', status='old')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,35
        read(1,'(A114)')ar__3
        read(ar__3,4)Ref_1,BibCode,Aut,Com
c    ..............Just test output...........
        write(6,4)Ref_1,BibCode,Aut,Com
c    .......End.of.Just test output...........
      end do
      close(1)

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