FORTRAN Generation
(/./ftp/cats/J/A_A/531/A40)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/531/A40 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-Jun-15
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/531/A40           Transits of WASP-39b                      (Faedi+, 2011)
*================================================================================
*WASP-39b: a highly inflated Saturn-mass planet orbiting a late G-type star.
*    Faedi F., Barros S.C.C., Anderson D.R., Brown D.J.A., Collier Cameron A.,
*    Pollacco D., Boisse I., Hebrard G., Lendl M., Lister T.A., Smalley B.,
*    Street R.A., Triaud A.H.M.J., Bento J., Butters O.W., Enoch B., Bouchy F.,
*    Haswell C.A., Hellier C., Keenan F.P., Miller G.R.M., Moulds V., Moutou C.,
*    Norton A.J., Queloz D., Santerne A., Simpson E.K., Skillen I., Smith A.M.S.,
*    Udry S., Watson C.A., West R.G., Wheatley P.J.
*   <Astron. Astrophys. 531, A40 (2011)>
*   =2011A&A...531A..40F
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Radial velocity and line bisector span of WASP-39

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

      real*8        BJD        (nr__) ! (d) Barycentric Julian date
      real*8        RV         (nr__) ! (km/s) Radial velocity
      real*4        e_RV       (nr__) ! (km/s) rms uncertainty on RV
      real*4        Span       (nr__) ! (km/s) Line bisector span
      character*7   Inst       (nr__) ! Spectrograph name

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

C  Declarations for 'eulerlc.dat'	! Euler photometry obtained on 9/07/2010, fig.4

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

      real*8        HJD        (nr__1) ! (d) Heliocentric Julian date
      real*8        dmag       (nr__1) ! (mag) Differential magnitude
      real*8        e_dmag     (nr__1) ! (mag) rms uncertainty on dmag
      character*1   Filt       (nr__1) ! [rz] Band of the magnitude

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

C  Declarations for 'ftnlc.dat'	! FTN photometry obtained on 18/05/2010, fig.4

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

      real*8        HJD_1      (nr__2) ! (d) Heliocentric Julian date
      real*8        dmag_1     (nr__2) ! (mag) Differential magnitude
      real*8        e_dmag_1   (nr__2) ! (mag) rms uncertainty on dmag
      character*1   Filt_1     (nr__2) ! [rz] Band of the magnitude

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

C  Declarations for 'wasplc.dat'	! WASP photometry (8/04/2008-17/06/2010), fig.1

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

      real*8        HJD_2      (nr__3) ! (d) Heliocentric Julian date
      real*8        dmag_2     (nr__3) ! (mag) Differential magnitude
      real*8        e_dmag_2   (nr__3) ! (mag) rms uncertainty on dmag
      character*1   Filt_2     (nr__3) ! [rz] Band of the magnitude

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

C  Loading file 'table2.dat'	! Radial velocity and line bisector span of WASP-39

C  Format for file interpretation

    1 format(F12.4,1X,F7.3,1X,F5.3,1X,F6.3,1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,17
        read(1,'(A41)')ar__
        read(ar__,1)BJD(i__),RV(i__),e_RV(i__),Span(i__),Inst(i__)
c    ..............Just test output...........
        write(6,1)BJD(i__),RV(i__),e_RV(i__),Span(i__),Inst(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'eulerlc.dat'	! Euler photometry obtained on 9/07/2010, fig.4

C  Format for file interpretation

    2 format(F13.5,1X,F15.12,1X,F13.11,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'eulerlc.dat')
      write(6,*) '....Loading file: eulerlc.dat'
      do i__=1,78
        read(1,'(A45)')ar__1
        read(ar__1,2)HJD(i__),dmag(i__),e_dmag(i__),Filt(i__)
c    ..............Just test output...........
        write(6,2)HJD(i__),dmag(i__),e_dmag(i__),Filt(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'ftnlc.dat'	! FTN photometry obtained on 18/05/2010, fig.4

C  Format for file interpretation

    3 format(F13.5,1X,F15.12,1X,F13.11,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'ftnlc.dat')
      write(6,*) '....Loading file: ftnlc.dat'
      do i__=1,218
        read(1,'(A45)')ar__2
        read(ar__2,3)HJD_1(i__),dmag_1(i__),e_dmag_1(i__),Filt_1(i__)
c    ..............Just test output...........
        write(6,3)HJD_1(i__),dmag_1(i__),e_dmag_1(i__),Filt_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'wasplc.dat'	! WASP photometry (8/04/2008-17/06/2010), fig.1

C  Format for file interpretation

    4 format(F13.5,1X,F15.12,1X,F13.11,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'wasplc.dat')
      write(6,*) '....Loading file: wasplc.dat'
      do i__=1,34766
        read(1,'(A45)')ar__3
        read(ar__3,4)HJD_2(i__),dmag_2(i__),e_dmag_2(i__),Filt_2(i__)
c    ..............Just test output...........
        write(6,4)HJD_2(i__),dmag_2(i__),e_dmag_2(i__),Filt_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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