FORTRAN Generation
(/./ftp/cats/J/A_A/512/A48)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/512/A48 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-18
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/512/A48   HARPS RV curves of HD125612, HD215497, HIP5158 (Lo Curto+, 2010)
*================================================================================
*The HARPS search for southern extra-solar planets.
*XXII. Multiple planet systems from the HARPS volume limited sample.
*    Lo Curto G., Mayor M., Benz W., Bouchy F., Lovis C., Moutou C., Naef D.,
*    Pepe F., Queloz D., Santos N.C., Segransan D., Udry S.
*   <Astron. Astrophys. 512, A48 (2010)>
*   =2010A&A...512A..48L
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'hd125612.dat'	! HD 125612 radial velocity measured

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

      real*8        HJD         ! (d) Heliocentric Julian date
      real*8        RV          ! (km/s) Radial velocity
      real*4        e_RV        ! (km/s) rms uncertainty on RV

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

C  Declarations for 'hd215497.dat'	! HD 215497 radial velocity measured

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

      real*8        HJD_1       ! (d) Heliocentric Julian date
      real*8        RV_1        ! (km/s) Radial velocity
      real*4        e_RV_1      ! (km/s) rms uncertainty on RV

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

C  Declarations for 'hip5158.dat'	! HIP 5158 radial velocity measured

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

      real*8        HJD_2       ! (d) Heliocentric Julian date
      real*8        RV_2        ! (km/s) Radial velocity
      real*4        e_RV_2      ! (km/s) rms uncertainty on RV

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

C  Loading file 'hd125612.dat'	! HD 125612 radial velocity measured

C  Format for file interpretation

    1 format(F14.6,1X,F8.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hd125612.dat')
      write(6,*) '....Loading file: hd125612.dat'
      do i__=1,58
        read(1,'(A30)')ar__
        read(ar__,1)HJD,RV,e_RV
c    ..............Just test output...........
        write(6,1)HJD,RV,e_RV
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'hd215497.dat'	! HD 215497 radial velocity measured

C  Format for file interpretation

    2 format(F14.6,1X,F8.4,1X,F6.4)

C  Effective file loading

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

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

C  Loading file 'hip5158.dat'	! HIP 5158 radial velocity measured

C  Format for file interpretation

    3 format(F14.6,1X,F8.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hip5158.dat')
      write(6,*) '....Loading file: hip5158.dat'
      do i__=1,54
        read(1,'(A30)')ar__2
        read(ar__2,3)HJD_2,RV_2,e_RV_2
c    ..............Just test output...........
        write(6,3)HJD_2,RV_2,e_RV_2
c    .......End.of.Just test output...........
      end do
      close(1)

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