FORTRAN Generation
(/./ftp/cats/J/MNRAS/420/2580)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/420/2580 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-08
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/420/2580    Four transits of HAT-P-13                (Southworth+, 2012)
*================================================================================
*Refined physical properties of the HAT-P-13 planetary system.
*    Southworth J., Bruni I., Mancini L., Gregorio J.
*   <Mon. Not. R. Astron. Soc., 420, 2580-2587 (2012)>
*   =2012MNRAS.420.2580S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'hatp13lo.dat'	! Defocussed photometry for transiting extrasolar
                              planetary system HAT-P-13, Gunn i passband

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

      real*8        BJD         ! (d) Barycentric Julian date (BJD-2400000)
      real*8        dmag        ! (mag) Differential magnitude
      real*8        e_dmag      ! (mag) rms uncertainty on dmag
      character*1   Band        ! [iI] Band for differential magnitude (1)
*Note (1): Bands are:
*   i = Gunn i passband using the BFOSC CCD imager on the Loiano 1.5m
*       telescope near Bologna, Italy.
*   I = Cousins I passband using a 30cm Schmidt-Cassegrain telescope in
*       Portalegre, Portugal, by Joao Gregorio

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

C  Declarations for 'hatp13po.dat'	! Defocussed photometry for transiting extrasolar
                              planetary system HAT-P-13, Cousins I passband

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

      real*8        BJD_1       ! (d) Barycentric Julian date (BJD-2400000)
      real*8        dmag_1      ! (mag) Differential magnitude
      real*8        e_dmag_1    ! (mag) rms uncertainty on dmag
      character*1   Band_1      ! [iI] Band for differential magnitude (1)
*Note (1): Bands are:
*   i = Gunn i passband using the BFOSC CCD imager on the Loiano 1.5m
*       telescope near Bologna, Italy.
*   I = Cousins I passband using a 30cm Schmidt-Cassegrain telescope in
*       Portalegre, Portugal, by Joao Gregorio

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

C  Loading file 'hatp13lo.dat'	! Defocussed photometry for transiting extrasolar
*                              planetary system HAT-P-13, Gunn i passband

C  Format for file interpretation

    1 format(F11.5,1X,F9.6,2X,F8.6,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hatp13lo.dat')
      write(6,*) '....Loading file: hatp13lo.dat'
      do i__=1,274
        read(1,'(A33)')ar__
        read(ar__,1)BJD,dmag,e_dmag,Band
c    ..............Just test output...........
        write(6,1)BJD,dmag,e_dmag,Band
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'hatp13po.dat'	! Defocussed photometry for transiting extrasolar
*                              planetary system HAT-P-13, Cousins I passband

C  Format for file interpretation

    2 format(F11.5,1X,F9.6,2X,F8.6,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hatp13po.dat')
      write(6,*) '....Loading file: hatp13po.dat'
      do i__=1,247
        read(1,'(A33)')ar__1
        read(ar__1,2)BJD_1,dmag_1,e_dmag_1,Band_1
c    ..............Just test output...........
        write(6,2)BJD_1,dmag_1,e_dmag_1,Band_1
c    .......End.of.Just test output...........
      end do
      close(1)

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