FORTRAN Generation
(/./ftp/cats/J/A_A/528/A49)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/528/A49 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-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/528/A49       HAT-P-1b Ks-band secondary eclipse       (de Mooij +, 2011)
*================================================================================
*The GROUSE project.
*II: Detection of the Ks-band secondary eclipse of exoplanet HAT-P-1b.
*    de Mooij E.J.W., de Kok R.J., Nefs S.V., Snellen I.A.G.
*   <Astron. Astrophys. 528, A49 (2011)>
*   =2011A&A...528A..49D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'hatp1_ks.dat'	! Ks-band time-series photometry of HAT-P-1b

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

      real*8        JD         (nr__) ! (d) Julian Date of observation
      real*8        Phase      (nr__) ! Calculated orbital phase of HAT-P-1b (1)
      real*8        Fhatp1     (nr__) ! Flux of the target (HAT-P-1), in ADU units
      real*8        Fref       (nr__) ! Flux of the reference star, in ADU units
      real*8        Sky        (nr__) ! (pix-1) Background per pixel, in ADU/pix units
      real*4        TExp       (nr__) ! (s) Exposure time
      real*8        Airmass    (nr__) ! Airmass
      real*8        mountPA    (nr__) ! (deg) Position angle of the mount
      real*8        Xpos       (nr__) ! X-position of HAT-P-1 on the detector
      real*8        Ypos       (nr__) ! Y-position of HAT-P-1 on the detector
*Note (1): Orbital phase calculated using the ephemeris from Johnson et al.
*          (2008ApJ...686..649J)

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

C  Loading file 'hatp1_ks.dat'	! Ks-band time-series photometry of HAT-P-1b

C  Format for file interpretation

    1 format(
     +  F14.6,2X,F9.7,2X,F10.3,2X,F11.3,2X,F8.3,2X,F3.1,2X,F7.5,2X,
     +  F8.4,2X,F7.3,2X,F7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hatp1_ks.dat')
      write(6,*) '....Loading file: hatp1_ks.dat'
      do i__=1,5541
        read(1,'(A102)')ar__
        read(ar__,1)
     +  JD(i__),Phase(i__),Fhatp1(i__),Fref(i__),Sky(i__),TExp(i__),
     +  Airmass(i__),mountPA(i__),Xpos(i__),Ypos(i__)
c    ..............Just test output...........
        write(6,1)
     +  JD(i__),Phase(i__),Fhatp1(i__),Fref(i__),Sky(i__),TExp(i__),
     +  Airmass(i__),mountPA(i__),Xpos(i__),Ypos(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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