FORTRAN Generation
(/./ftp/cats/J/A_A/501/785)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/501/785 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 2026-Oct-09
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/501/785       Discovery and characterization of WASP-6b    (Gillon+, 2009)
*================================================================================
*Discovery and characterization of WASP-6b, an inflated sub-Jupiter mass planet
*transiting a solar-type star.
*    Gillon M., Anderson D.R., Triaud A.H.M.J., Hellier C., Maxted P.F.L.,
*    Pollaco D., Queloz D., Smalley B., West R.G., Wilson D.M., Bentley S.J.,
*    Collier Cameron A., Enoch B., Hebb L., Horne K., Irwin J., Joshi Y.C.,
*    Lister T.A., Mayor M., Pepe F., Parley N., Segransan D., Udry S.,
*    Wheatley P.J.
*   <Astron. Astrophys. 501, 785 (2009)>
*   =2009A&A...501..785G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'rise1.dat'	! WASP-6 deredenned and normalized differential
                             photometry obtained by LT_RISE on 2008 July 25

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

      real*8        BJD        (nr__) ! (d) Barycentric Julian date
      real*8        Flux       (nr__) ! Flux (relative)
      real*8        e_Flux     (nr__) ! ?=9 rms uncertainty on Flux

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

C  Declarations for 'rise2.dat'	! WASP-6 deredenned and normalized differential
                             photometry obtained by LT_RISE on 2008 August 11

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

      real*8        BJD_1      (nr__1) ! (d) Barycentric Julian date
      real*8        Flux_1     (nr__1) ! Flux (relative)
      real*8        e_Flux_1   (nr__1) ! ?=9 rms uncertainty on Flux

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

C  Declarations for 'swasp.dat'	! WASP-6 deredenned and normalized differential
                             photometry obtained by the SuperWASP survey

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

      real*8        BJD_2      (nr__2) ! (d) Barycentric Julian date
      real*8        Flux_2     (nr__2) ! Flux (relative)
      real*8        e_Flux_2   (nr__2) ! ?=9 rms uncertainty on Flux

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

C  Declarations for 'fts.dat'	! WASP-6 deredenned and normalized differential
                             photometry obtained by FTS_HawkCam2 on
                             2007 October 13

      integer*4 nr__3
      parameter (nr__3=230)	! Number of records
      character*40 ar__3  	! Full-size record

      real*8        BJD_3      (nr__3) ! (d) Barycentric Julian date
      real*8        Flux_3     (nr__3) ! Flux (relative)
      real*8        e_Flux_3   (nr__3) ! ?=9 rms uncertainty on Flux

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

C  Declarations for 'coralie.dat'	! WASP-6 radial velocities obtained by the
                             spectrograph CORALIE

      integer*4 nr__4
      parameter (nr__4=35)	! Number of records
      character*43 ar__4  	! Full-size record

      real*8        BJD_4      (nr__4) ! (d) Barycentric Julian date
      real*8        RV         (nr__4) ! (km/s) Radial velocity
      real*8        e_RV       (nr__4) ! (km/s) rms uncertainty on  RV
      real*8        Bisec      (nr__4) ! (km/s) Velocity from bisector technique
*                                  (Queloz et al. 2001A&A...379..279Q)

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

C  Declarations for 'harps.dat'	! WASP-6 radial velocities obtained by the
                             spectrograph HARPS

      integer*4 nr__5
      parameter (nr__5=44)	! Number of records
      character*43 ar__5  	! Full-size record

      real*8        BJD_5      (nr__5) ! (d) Barycentric Julian date
      real*8        RV_1       (nr__5) ! (km/s) Radial velocity
      real*8        e_RV_1     (nr__5) ! (km/s) rms uncertainty on  RV
      real*8        Bisec_1    (nr__5) ! (km/s) Velocity from bisector technique
*                                  (Queloz et al. 2001A&A...379..279Q)

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

C  Loading file 'rise1.dat'	! WASP-6 deredenned and normalized differential
*                             photometry obtained by LT_RISE on 2008 July 25

C  Format for file interpretation

    1 format(F15.7,2X,F8.6,7X,F8.6)

C  Effective file loading

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

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

C  Loading file 'rise2.dat'	! WASP-6 deredenned and normalized differential
*                             photometry obtained by LT_RISE on 2008 August 11

C  Format for file interpretation

    2 format(F15.7,2X,F8.6,7X,F8.6)

C  Effective file loading

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

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

C  Loading file 'swasp.dat'	! WASP-6 deredenned and normalized differential
*                             photometry obtained by the SuperWASP survey

C  Format for file interpretation

    3 format(F15.7,2X,F8.6,7X,F8.6)

C  Effective file loading

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

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

C  Loading file 'fts.dat'	! WASP-6 deredenned and normalized differential
*                             photometry obtained by FTS_HawkCam2 on
*                             2007 October 13

C  Format for file interpretation

    4 format(F15.7,2X,F8.6,7X,F8.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'fts.dat')
      write(6,*) '....Loading file: fts.dat'
      do i__=1,230
        read(1,'(A40)')ar__3
        read(ar__3,4)BJD_3(i__),Flux_3(i__),e_Flux_3(i__)
c    ..............Just test output...........
        write(6,4)BJD_3(i__),Flux_3(i__),e_Flux_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'coralie.dat'	! WASP-6 radial velocities obtained by the
*                             spectrograph CORALIE

C  Format for file interpretation

    5 format(F14.6,2X,F8.5,2X,F7.5,2X,F8.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'coralie.dat')
      write(6,*) '....Loading file: coralie.dat'
      do i__=1,35
        read(1,'(A43)')ar__4
        read(ar__4,5)BJD_4(i__),RV(i__),e_RV(i__),Bisec(i__)
c    ..............Just test output...........
        write(6,5)BJD_4(i__),RV(i__),e_RV(i__),Bisec(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'harps.dat'	! WASP-6 radial velocities obtained by the
*                             spectrograph HARPS

C  Format for file interpretation

    6 format(F14.6,2X,F8.5,2X,F7.5,2X,F8.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'harps.dat')
      write(6,*) '....Loading file: harps.dat'
      do i__=1,44
        read(1,'(A43)')ar__5
        read(ar__5,6)BJD_5(i__),RV_1(i__),e_RV_1(i__),Bisec_1(i__)
c    ..............Just test output...........
        write(6,6)BJD_5(i__),RV_1(i__),e_RV_1(i__),Bisec_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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