FORTRAN Generation
(/./ftp/cats/J/A_A/527/A113)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/527/A113 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.5, on 2013-May-19
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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/A+A/527/A113    67P/Churyumov-Gerasimenko R-band light curve  (Tubiana+, 2011)
*================================================================================
*67P/Churyumov-Gerasimenko at large heliocentric distance.
*    Tubiana C., Boehnhardt H., Agarwal J., Drahus M., Barrera L., Ortiz J.L.
*   <Astron. Astrophys. 527, A113 (2011)>
*   =2011A&A...527A.113T
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table5.dat'	! Results of R filter photometry of
                              67P/Churyumov-Gerasimenko for April 2004 and
                              July 2007 observations

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

      character*10  Date       (nr__) ! ("DD-MM-YYYY") Date of the observations
      real*4        Time       (nr__) ! (h) Time of observation (1)
      real*4        Rmag       (nr__) ! (mag) R band reduced magnitude
      real*4        e_Rmag     (nr__) ! (mag) Uncertainty on Rmag
*Note (1): Each night the time is normalized to 00:00 UT and light-time
*          corrected.

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

C  Loading file 'table5.dat'	! Results of R filter photometry of
*                              67P/Churyumov-Gerasimenko for April 2004 and
*                              July 2007 observations

C  Format for file interpretation

    1 format(A10,1X,F6.3,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,file='table5.dat', status='old')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,156
        read(1,'(A28)')ar__
        read(ar__,1)Date(i__),Time(i__),Rmag(i__),e_Rmag(i__)
c    ..............Just test output...........
        write(6,1)Date(i__),Time(i__),Rmag(i__),e_Rmag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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