FORTRAN Generation
(/./ftp/cats/J/A_A/608/A26)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/608/A26 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-28
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/608/A26       TrES-3b UBVIz' light curves             (Mackebrandt+, 2017)
*================================================================================
*Transmission spectroscopy of the hot Jupiter TrES-3b:
*Disproof of an overly large Rayleigh-like feature.
*    Mackebrandt F., Mallonn M., Ohlert J.M., Granzer T., Lalitha S.,
*    Garcia Munoz A., Gibson N.P., Lee J.W., Sozzetti A., Turner J.D., Vanko M.,
*    Strassmeier K.G.
*    <Astron. Astrophys. 608, A26 (2017)>
*    =2017A&A...608A..26M        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'list.dat'	! List of photometric observations

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

      character*2   Band        ! [UBVI z'] Observed band
      character*7   PSys        ! [Johnson Sloan] Photometric system of the Band
      character*6   Inst        ! Instrument
      character*10  Obs_Date    ! ("date") Observation date
      integer*4     Cad         ! (s-1) Cadence
      integer*4     Nobs        ! Number of data points
      real*4        rms         ! (mmag-1) Dispersion of the residuals as root mean
*                                   square (rms) of the observations after
*                                   subtracting a transit model
      character*12  FileName    ! Name of the table with photometry in
*                                   subdirectory phot

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

C  Declarations for 'phot/*'	! Individual light curve data

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

      real*4        BJD         ! (d) Barycenric corrected modified Julian date 
*                                  (UTC, BJD-2400000)
      real*4        dmag        ! (mag) Differential magnitude
      real*4        e_dmag      ! (mag) Error of dmag
      real*4        xposT       ! (pix) Target x position on CCD
      real*4        yposT       ! (pix) Target y position on CCD
      real*4        FWHMT       ! FWHM of target
      real*4        FluxT       ! Flux of the target

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

C  Declarations for 'vamosb.dat'	! Light curve from STELLA in Johnson B filter

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

      real*4        JD          ! (d) Julian date in UTC (JD-2400000)
      real*4        Flux        ! Normalized flux
      real*4        e_Flux      ! Error of Flux

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

C  Declarations for 'vamosv.dat'	! Light curve from STELLA in Johnson V filter

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

      real*4        JD_1        ! (d) Julian date in UTC (JD-2400000)
      real*4        Flux_1      ! Normalized flux
      real*4        e_Flux_1    ! Error of Flux

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

C  Loading file 'list.dat'	! List of photometric observations

C  Format for file interpretation

    1 format(A2,1X,A7,1X,A6,1X,A10,1X,I3,1X,I3,1X,F4.2,1X,A12)

C  Effective file loading

      open(unit=1,status='old',file=
     +'list.dat')
      write(6,*) '....Loading file: list.dat'
      do i__=1,17
        read(1,'(A54)')ar__
        read(ar__,1)Band,PSys,Inst,Obs_Date,Cad,Nobs,rms,FileName
c    ..............Just test output...........
        write(6,1)Band,PSys,Inst,Obs_Date,Cad,Nobs,rms,FileName
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'phot/*'	! Individual light curve data

C  Format for file interpretation

    2 format(
     +  2X,E22.17,4X,E11.6,2X,E11.6,3X,E11.6,3X,E11.6,3X,E11.6,3X,
     +  E11.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'phot/*')
      write(6,*) '....Loading file: phot/*'
      do i__=1,17
        read(1,'(A108)')ar__1
        read(ar__1,2)BJD,dmag,e_dmag,xposT,yposT,FWHMT,FluxT
c    ..............Just test output...........
        write(6,2)BJD,dmag,e_dmag,xposT,yposT,FWHMT,FluxT
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'vamosb.dat'	! Light curve from STELLA in Johnson B filter

C  Format for file interpretation

    3 format(2X,E22.17,3X,E12.6,2X,E11.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'vamosb.dat')
      write(6,*) '....Loading file: vamosb.dat'
      do i__=1,28
        read(1,'(A52)')ar__2
        read(ar__2,3)JD,Flux,e_Flux
c    ..............Just test output...........
        write(6,3)JD,Flux,e_Flux
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'vamosv.dat'	! Light curve from STELLA in Johnson V filter

C  Format for file interpretation

    4 format(2X,E22.17,3X,E12.6,2X,E11.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'vamosv.dat')
      write(6,*) '....Loading file: vamosv.dat'
      do i__=1,29
        read(1,'(A52)')ar__3
        read(ar__3,4)JD_1,Flux_1,e_Flux_1
c    ..............Just test output...........
        write(6,4)JD_1,Flux_1,e_Flux_1
c    .......End.of.Just test output...........
      end do
      close(1)

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