FORTRAN Generation
(/./ftp/cats/J/A_A/518/A25)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/518/A25 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-Apr-20
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/518/A25       Transits of HD40307b by Spitzer            (Gillon+, 2010)
*================================================================================
*The Spitzer search for the transits of HARPS low-mass planets.
*I. No transit for the super-Earth HD40307b.
*    Gillon M., Deming D., Demory B.-O., Lovis C., Seager S., Mayor M., Pepe F.,
*    Queloz D., Segransan D., Udry S., Delmelle S., Magain P.
*   <Astron. Astrophys. 518, A25 (2010)>
*   =2010A&A...518A..25G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'irac1.dat'	! 1295 measurements obtained at 8 microns with
                             SPITZER/IRAC on 31 October 2008

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

      real*8        HJD        (nr__) ! (d) Heliocentric Julian date
      real*8        Flux       (nr__) ! Normalized 8um flux
      real*4        e_Flux     (nr__) ! rms uncertainty on  Flux

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

C  Declarations for 'irac2.dat'	! 1105 measurements obtained at 8 microns with
                             SPITZER/IRAC on 02 February 2009

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

      real*8        HJD_1      (nr__1) ! (d) Heliocentric Julian date
      real*8        Flux_1     (nr__1) ! Normalized 8um flux
      real*4        e_Flux_1   (nr__1) ! rms uncertainty on  Flux

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

C  Declarations for 'irac3.dat'	! 1105 measurements obtained at 8 microns with
                             SPITZER/IRAC on 13 March 2009

      integer*4 nr__2
      parameter (nr__2=1105)	! Number of records
      character*57 ar__2  	! Full-size record

      real*8        HJD_2      (nr__2) ! (d) Heliocentric Julian date
      real*8        Flux_2     (nr__2) ! Normalized 8um flux
      real*4        e_Flux_2   (nr__2) ! rms uncertainty on  Flux

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

C  Loading file 'irac1.dat'	! 1295 measurements obtained at 8 microns with
*                             SPITZER/IRAC on 31 October 2008

C  Format for file interpretation

    1 format(F16.8,1X,F17.15,1X,E22.16)

C  Effective file loading

      open(unit=1,status='old',file=
     +'irac1.dat')
      write(6,*) '....Loading file: irac1.dat'
      do i__=1,1295
        read(1,'(A57)')ar__
        read(ar__,1)HJD(i__),Flux(i__),e_Flux(i__)
c    ..............Just test output...........
        write(6,1)HJD(i__),Flux(i__),e_Flux(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'irac2.dat'	! 1105 measurements obtained at 8 microns with
*                             SPITZER/IRAC on 02 February 2009

C  Format for file interpretation

    2 format(F16.8,1X,F17.15,1X,E22.16)

C  Effective file loading

      open(unit=1,status='old',file=
     +'irac2.dat')
      write(6,*) '....Loading file: irac2.dat'
      do i__=1,1105
        read(1,'(A57)')ar__1
        read(ar__1,2)HJD_1(i__),Flux_1(i__),e_Flux_1(i__)
c    ..............Just test output...........
        write(6,2)HJD_1(i__),Flux_1(i__),e_Flux_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'irac3.dat'	! 1105 measurements obtained at 8 microns with
*                             SPITZER/IRAC on 13 March 2009

C  Format for file interpretation

    3 format(F16.8,1X,F17.15,1X,E22.16)

C  Effective file loading

      open(unit=1,status='old',file=
     +'irac3.dat')
      write(6,*) '....Loading file: irac3.dat'
      do i__=1,1105
        read(1,'(A57)')ar__2
        read(ar__2,3)HJD_2(i__),Flux_2(i__),e_Flux_2(i__)
c    ..............Just test output...........
        write(6,3)HJD_2(i__),Flux_2(i__),e_Flux_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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