FORTRAN Generation
(/./ftp/cats/J/A_A/606/A18)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/606/A18 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-Apr-18
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/606/A18       WASP-103b light curves                   (Lendl+, 2017)
*================================================================================
*Signs of strong Na and K absorption in the transmission spectrum of WASP-103b.
*    Lendl M., Cubillos P.E., Hagelberg J., Muller A., Juvan I., Fossati L.
*    <Astron. Astrophys. 606, A18 (2017)>
*    =2017A&A...606A..18L        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'lcs.dat'	! Spectro-photometry

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

      real*8        HJD         ! (d) Heliocentric Julian Date (HJD-2450000)
      real*8        Flux        ! Normalized flux
      real*8        e_Flux      ! Normalized flux error
      real*4        yshi        ! (pix) Pixel shift in y-direction
      real*4        AM          ! Airmass
      real*4        FWHM        ! (pix) Spectral Full-Width at Half Maximum
      real*4        Exp         ! (s) [180/240] Exposure time
      real*8        Cen         ! (0.1nm) [5591/9731.5] Spectral bin central wavelength
      real*4        Wid         ! (0.1nm) [20/200] Spectral bin width

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

C  Declarations for 'lcswhite.dat'	! White light photometry

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

      real*8        HJD_1       ! (d) Heliocentric Julian Date (HJD-2450000)
      real*8        Flux_1      ! Normalized flux
      real*8        e_Flux_1    ! Normalized flux error
      real*4        yshi_1      ! (pix) Pixel shift in y-direction
      real*4        AM_1        ! Airmass
      real*4        FWHM_1      ! (pix) Spectral Full-Width at Half Maximum
      real*4        Exp_1       ! (s) [180/240] Exposure time

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

C  Loading file 'lcs.dat'	! Spectro-photometry

C  Format for file interpretation

    1 format(
     +  F11.6,2X,F8.6,2X,F8.6,3X,F5.2,4X,F4.2,3X,F5.2,2X,F6.2,2X,F7.2,
     +  3X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lcs.dat')
      write(6,*) '....Loading file: lcs.dat'
      do i__=1,11220
        read(1,'(A81)')ar__
        read(ar__,1)HJD,Flux,e_Flux,yshi,AM,FWHM,Exp,Cen,Wid
c    ..............Just test output...........
        write(6,1)HJD,Flux,e_Flux,yshi,AM,FWHM,Exp,Cen,Wid
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'lcswhite.dat'	! White light photometry

C  Format for file interpretation

    2 format(F11.6,2X,F8.6,2X,F8.6,3X,F5.2,4X,F4.2,3X,F5.2,4X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lcswhite.dat')
      write(6,*) '....Loading file: lcswhite.dat'
      do i__=1,165
        read(1,'(A65)')ar__1
        read(ar__1,2)HJD_1,Flux_1,e_Flux_1,yshi_1,AM_1,FWHM_1,Exp_1
c    ..............Just test output...........
        write(6,2)HJD_1,Flux_1,e_Flux_1,yshi_1,AM_1,FWHM_1,Exp_1
c    .......End.of.Just test output...........
      end do
      close(1)

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