FORTRAN Generation
(/./ftp/cats/J/A_A/539/A139)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/539/A139 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/A+A/539/A139         BVIc light curves of SZ Cam               (Tamajo+, 2012)
*================================================================================
*Asiago eclipsing binaries program.
*IV. SZ Camelopardalis, a beta Cephei pulsator in a quadruple, eclipsing system.
*    Tamajo E., Munari U., Siviero A., Tomasella L., Dallaporta S.
*   <Astron. Astrophys. 539, A139 (2012)>
*   =2012A&A...539A.139T
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! B, V, Ic photometric data for SZ Cam

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

      integer*4     Date_Y      ! (yr) Observation date (Year)
      integer*4     Date_M      ! Observation date (Month)
      real*8        Date_D      ! (d) Observation date (Day)
      real*8        HJD         ! (d) Heliocentric Julian Date
      real*4        Vmag        ! (mag) Johnson V-band measurement
      real*4        e_Vmag      ! (mag) Error in V-band
      real*4        B_V         ! (mag) Johnson B-V colour index
      real*4        e_B_V       ! (mag) Error of B-V
      real*4        V_Ic        ! (mag) Johnson-Cousins V-Ic colour index
      real*4        e_V_Ic      ! (mag) Error of V-Ic

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

C  Loading file 'table3.dat'	! B, V, Ic photometric data for SZ Cam

C  Format for file interpretation

    1 format(
     +  I4,1X,I2,1X,F8.5,2X,F13.5,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,
     +  F6.3,1X,F5.3)

C  Effective file loading

      open(unit=1,file='table3.dat', status='old')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,1517
        read(1,'(A68)')ar__
        read(ar__,1)
     +  Date_Y,Date_M,Date_D,HJD,Vmag,e_Vmag,B_V,e_B_V,V_Ic,e_V_Ic
c    ..............Just test output...........
        write(6,1)
     +  Date_Y,Date_M,Date_D,HJD,Vmag,e_Vmag,B_V,e_B_V,V_Ic,e_V_Ic
c    .......End.of.Just test output...........
      end do
      close(1)

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