FORTRAN Generation

Conversion of standardized ReadMe file for catalog 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  F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2020-Aug-13
*  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
*  Please report problems or questions to   

      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

Cat. J/A+A/513/L3    H-band thermal emission of exoplanet WASP-19b  (Anderson+, 2010)
*H-band thermal emission from the 0.79-day period planet WASP-19b.
*    Anderson D.R., Gillon M., Maxted P.F.L., Barman T.S., Collier Cameron A.,
*    Hellier C., Queloz D., Smalley B., Triaud A.H.M.J.
*   <Astron. Astrophys.513, L3 (2010)>
*   =2010A&A...513L...3A

C  Internal variables

      integer*4 i__

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

C  Declarations for 'hawkihr.dat'	! Raw HAWK-I H-band photometry for the 11 chip

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

      integer*4     Chip        ! [1/11] Chip position number
      real*8        BJD         ! (d) Barycentric Julian date
      real*8        Flux        ! Flux (relative)
      real*4        e_Flux      ! Uncertainty on Flux
      real*4        Airmass     ! Airmass
      real*8        bg          ! Background (electrons)
      real*4        FWHM        ! (pix) Full-width at half maximum of the PSF


C  Loading file 'hawkihr.dat'	! Raw HAWK-I H-band photometry for the 11 chip
*                              positions

C  Format for file interpretation

    1 format(I2,1X,F16.8,1X,F9.7,1X,E13.8,1X,F5.6,4X,F8.3,1X,F5.3)

C  Effective file loading

      write(6,*) '....Loading file: hawkihr.dat'
      do i__=1,276
c    ..............Just test output...........
c    .......End.of.Just test output...........
      end do