FORTRAN Generation
(/./ftp/cats/J/MNRAS/426/1338)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/426/1338 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 2026-Jun-10
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/MNRAS/426/1338    Transiting planetary system WASP-17      (Southworth+, 2012)
*================================================================================
*High-precision photometry by telescope defocusing.
*IV. Confirmation of the huge radius of WASP-17b.
*    Southworth J., Hinse T.C., Dominik M., Fang X.-S., Harpsoe K.,
*    Jorgensen U.G., Kerins E., Liebig C., Mancini L., Skottfelt J.,
*    Anderson D.R., Smalley B., Tregloan-Reed J., Wertz O., Alsubai K.A.,
*    Bozza V., Calchi Novati S., Dreizler S., Gu S.-H., Hundertmark M.,
*    Jessen-Hansen J., Kains N., Kjeldsen H., Lund M.N., Lundkvist M.,
*    Mathiasen M., Penny M.T., Rahvar S., Ricci D., Scarpetta G., Snodgrass C.,
*    Surdej J.
*   <Mon. Not. R. Astron. Soc., 426, 1338-1348 (2012)>
*   =2012MNRAS.426.1338S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'wasp17.dat'	! Defocussed photometry of WASP-17

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

      real*8        BJD         ! (d) Barycentric JD for the midpoint of
*                                   observation (TDB)
      real*8        dRmag       ! (mag) Differential R-band magnitude of WASP-17
      real*8        e_dRmag     ! (mag) Measurement error of the R-band magnitude

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

C  Loading file 'wasp17.dat'	! Defocussed photometry of WASP-17

C  Format for file interpretation

    1 format(F13.5,1X,F9.6,1X,F9.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'wasp17.dat')
      write(6,*) '....Loading file: wasp17.dat'
      do i__=1,494
        read(1,'(A33)')ar__
        read(ar__,1)BJD,dRmag,e_dRmag
c    ..............Just test output...........
        write(6,1)BJD,dRmag,e_dRmag
c    .......End.of.Just test output...........
      end do
      close(1)

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