FORTRAN Generation
(/./ftp/cats/J/A_A/511/A3)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/511/A3 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 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/511/A3   Light curves of CoRoT-2 in z-band, 4.5um and 8um  (Gillon+, 2010)
*================================================================================
*The thermal emission of the young and massive planet CoRoT-2b at 4.5 and 8um.
*    Gillon M., Lanotte A.A., Barman T., Miller N., Demory B.-O., Deleuil M.,
*    Montalban J., Bouchy F., Collier  Cameron A., Deeg H.J., Fortney J.J.,
*    Fridlund M., Harrington J., Magain P., Moutou C., Queloz D., Rauer H.,
*    Rouan D., Schneider J.
*   <Astron. Astrophys. 511, A3 (2010)>
*   =2010A&A...511A...3G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'forsz.dat'	! VLT/FORS2 photometric time series

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

      real*8        HJD         ! (d) Heliocentric Julian Date
      real*8        Flux        ! Flux in z-band
      real*8        e_Flux      ! Error on flux
      real*8        Airmass     ! Airmass

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

C  Declarations for 'iracch2.dat'	! IRAC 4.5um photometric time series

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

      real*8        HJD_1       ! (d) Heliocentric Julian Date
      real*8        Flux_1      ! Flux at 4.5um
      real*4        e_Flux_1    ! Error on Flux
      real*8        Xpos        ! (pix) X-position of the PSF centroid on the chip
      real*8        Ypos        ! (pix) Y-position of the PSF centroid on the chip

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

C  Declarations for 'iracch4.dat'	! IRAC 8um photometric time series

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

      real*8        HJD_2       ! (d) Heliocentric Julian Date
      real*8        Flux_2      ! Flux at 8um
      real*4        e_Flux_2    ! Error on Flux

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

C  Loading file 'forsz.dat'	! VLT/FORS2 photometric time series

C  Format for file interpretation

    1 format(F15.7,1X,F9.7,1X,F9.7,1X,F9.7)

C  Effective file loading

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

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

C  Loading file 'iracch2.dat'	! IRAC 4.5um photometric time series

C  Format for file interpretation

    2 format(F18.10,1X,F19.17,1X,E24.18,1X,F18.14,1X,F18.14)

C  Effective file loading

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

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

C  Loading file 'iracch4.dat'	! IRAC 8um photometric time series

C  Format for file interpretation

    3 format(F18.10,1X,F19.17,1X,E24.18)

C  Effective file loading

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

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