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

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/511/A45 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-19
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/A45  HD 147018, 171238 and 204313 radial velocities (Segransan+, 2010)
*================================================================================
*The CORALIE survey for southern extrasolar planets.
*XVI. Discovery of a planetary system around HD 147018 and of two long period and
*massive planets orbiting HD 171238 and HD 204313.
*    Segransan D., Udry S., Mayor M., Naef D., Pepe F., Queloz D., Santos N.C.,
*    Demory B-O., Figueira P., Gillon M., Marmier M., Megevand D., Sosnowska D.,
*    Tamuz O., Triaud A.H.M.J.
*   <Astron. Astrophys. 511, A45 (2010)>
*   =2010A&A...511A..45S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Radial velocity measurements for HD 147018

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

      real*8        BJD         ! (d) Barycentric Julian date
      real*8        RV          ! (km/s) Barycentric radial velocity (1)
      real*8        e_RV        ! (km/s) Full RV uncertainty
      character*3   Inst        ! [C98,C07] Instrument (2)
*Note (1): The CORALIE Echelle spectrograph was upgraded in July 2007 which
*     affected the instrument zero point. We decided to refer to the
*     original CORALIE as CORALIE-98 and to the upgraded one as CORALIE-07.
*     When using both set of data, the instrumental zero point should be
*     adjusted.
*Note (2): Instrument used as follows:
*    C98 = CORALIE-98
*    C07 = CORALIE-07

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

C  Declarations for 'table2.dat'	! Radial velocity measurements for HD 171238

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

      real*8        BJD_1       ! (d) Barycentric Julian date
      real*8        RV_1        ! (km/s) Barycentric radial velocity (1)
      real*8        e_RV_1      ! (km/s) Full RV uncertainty
      character*3   Inst_1      ! [C98,C07] Instrument (2)
*Note (1): The CORALIE Echelle spectrograph was upgraded in July 2007 which
*     affected the instrument zero point. We decided to refer to the
*     original CORALIE as CORALIE-98 and to the upgraded one as CORALIE-07.
*     When using both set of data, the instrumental zero point should be
*     adjusted.
*Note (2): Instrument used as follows:
*    C98 = CORALIE-98
*    C07 = CORALIE-07

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

C  Declarations for 'table3.dat'	! Radial velocity measurements for HD 204313

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

      real*8        BJD_2       ! (d) Barycentric Julian date
      real*8        RV_2        ! (km/s) Barycentric radial velocity (1)
      real*8        e_RV_2      ! (km/s) Full RV uncertainty
      character*3   Inst_2      ! [C98,C07] Instrument (2)
*Note (1): The CORALIE Echelle spectrograph was upgraded in July 2007 which
*     affected the instrument zero point. We decided to refer to the
*     original CORALIE as CORALIE-98 and to the upgraded one as CORALIE-07.
*     When using both set of data, the instrumental zero point should be
*     adjusted.
*Note (2): Instrument used as follows:
*    C98 = CORALIE-98
*    C07 = CORALIE-07

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

C  Loading file 'table1.dat'	! Radial velocity measurements for HD 147018

C  Format for file interpretation

    1 format(F14.6,2X,F9.5,1X,F7.5,1X,A3)

C  Effective file loading

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

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

C  Loading file 'table2.dat'	! Radial velocity measurements for HD 171238

C  Format for file interpretation

    2 format(F14.6,2X,F9.5,1X,F7.5,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,99
        read(1,'(A37)')ar__1
        read(ar__1,2)BJD_1,RV_1,e_RV_1,Inst_1
c    ..............Just test output...........
        write(6,2)BJD_1,RV_1,e_RV_1,Inst_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Radial velocity measurements for HD 204313

C  Format for file interpretation

    3 format(F14.6,2X,F9.5,1X,F7.5,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,97
        read(1,'(A37)')ar__2
        read(ar__2,3)BJD_2,RV_2,e_RV_2,Inst_2
c    ..............Just test output...........
        write(6,3)BJD_2,RV_2,e_RV_2,Inst_2
c    .......End.of.Just test output...........
      end do
      close(1)

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