FORTRAN Generation
(/./ftp/cats/J/A_A/526/A130)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/526/A130 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/526/A130      WASP-34b photometry and radial velocities  (Smalley+, 2011)
*================================================================================
*WASP-34b: a near-grazing transiting sub-Jupiter-mass exoplanet in a
*hierarchical triple.
*    Smalley B., Anderson D.R., Collier Cameron A., Hellier C., Lendl M.,
*    Maxted P.F.L., Queloz D., Triaud A.H.M.J., West R.G., Bentley S.J.,
*    Enoch B., Gillon M., Lister T.A., Pepe F., Pollacco D.L., Segransan D.,
*    Smith A.M.S., Southworth J., Udry S., Wheatley P.J., Wood P.L., Bento J.
*   <Astron. Astrophys. 526, A130 (2011)>
*   =2011A&A...526A.130S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Radial velocity and line bisector spans

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

      real*8        HJD        (nr__) ! (d) Julian Date of Observation
      real*8        HRV        (nr__) ! (km/s) Heliocentric Radial velocity
      real*8        e_HRV      (nr__) ! (km/s) Error on Heliocentric Radial velocity
      real*8        Vspan      (nr__) ! (km/s) Line bisector span

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

C  Declarations for 'euler1.dat'	! Euler Telescope photometry 2010 March 3

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

      real*8        HJD_1      (nr__1) ! (d) Julian Date of Observation
      real*8        DRmag      (nr__1) ! (mag) Relative magnitude (R_G_ band)
      real*8        e_DRmag    (nr__1) ! (mag) Error on Relative magnitude

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

C  Declarations for 'euler2.dat'	! Euler Telescope photometry 2010 April 12

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

      real*8        HJD_2      (nr__2) ! (d) Julian Date of Observation
      real*8        DRmag_1    (nr__2) ! (mag) Relative magnitude (R_G_ band)
      real*8        e_DRmag_1  (nr__2) ! (mag) Error on Relative magnitude

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

C  Loading file 'table1.dat'	! Radial velocity and line bisector spans

C  Format for file interpretation

    1 format(F14.6,1X,F8.5,1X,F8.5,1X,F8.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,24
        read(1,'(A41)')ar__
        read(ar__,1)HJD(i__),HRV(i__),e_HRV(i__),Vspan(i__)
c    ..............Just test output...........
        write(6,1)HJD(i__),HRV(i__),e_HRV(i__),Vspan(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'euler1.dat'	! Euler Telescope photometry 2010 March 3

C  Format for file interpretation

    2 format(F13.5,1X,F7.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'euler1.dat')
      write(6,*) '....Loading file: euler1.dat'
      do i__=1,114
        read(1,'(A29)')ar__1
        read(ar__1,2)HJD_1(i__),DRmag(i__),e_DRmag(i__)
c    ..............Just test output...........
        write(6,2)HJD_1(i__),DRmag(i__),e_DRmag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'euler2.dat'	! Euler Telescope photometry 2010 April 12

C  Format for file interpretation

    3 format(F13.5,1X,F7.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'euler2.dat')
      write(6,*) '....Loading file: euler2.dat'
      do i__=1,147
        read(1,'(A29)')ar__2
        read(ar__2,3)HJD_2(i__),DRmag_1(i__),e_DRmag_1(i__)
c    ..............Just test output...........
        write(6,3)HJD_2(i__),DRmag_1(i__),e_DRmag_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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