FORTRAN Generation
(/./ftp/cats/J/A_A/605/A103)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/605/A103 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/605/A103         HD20794 HARPS radial velocities             (Feng+, 2017)
*================================================================================
*Evidence for at least three planet candidates orbiting HD20794.
*    Feng F., Tuomi M., Jones H.R.A.
*    <Astron. Astrophys. 605, A103 (2017)>
*    =2017A&A...605A.103F        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'hd20794.dat'	! HARPS radial velocities for HD20794 and
                                 corresponding noise proxies

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

      real*8        RJD        (nr__) ! (d) Reduced Julian Date (JD-2400000)
      real*8        RV         (nr__) ! (m/s) Radial velocity variation
      real*8        e_RV       (nr__) ! (m/s) rms uncertainty on radial velocity
      real*8        BIS        (nr__) ! (m/s) Bisector span of the cross-correlation function
      real*8        FWHM       (nr__) ! (km/s) Cross-correlation function (CCF) FWHM
      real*8        Halpha     (nr__) ! Activity index H-alpha
      real*8        logR__HK   (nr__) ! Activity index logR'(HK)
      real*8        NaD1       (nr__) ! Activity index Sodium NaD1
      real*8        NaD2       (nr__) ! (m/s) Activity index Sodium NaD2
      real*8        v3AP2_1    (nr__) ! (m/s) Differential radial velocity 3AP2-1
      real*8        v3AP3_2    (nr__) ! (m/s) Differential radial velocity 3AP3-2
      real*8        v6AP2_1    (nr__) ! (m/s) Differential radial velocity 6AP2-1
      real*8        v6AP3_2    (nr__) ! (m/s) Differential radial velocity 6AP3-2
      real*8        v6AP4_3    (nr__) ! (m/s) Differential radial velocity 6AP4-3
      real*8        v6AP5_4    (nr__) ! (m/s) Differential radial velocity 6AP5-4
      real*8        v6AP6_5    (nr__) ! (m/s) Differential radial velocity 6AP6-5
      real*8        v9AP2_1    (nr__) ! (m/s) Differential radial velocity 9AP2-1
      real*8        v9AP3_2    (nr__) ! (m/s) Differential radial velocity 9AP3-2
      real*8        v9AP4_3    (nr__) ! (m/s) Differential radial velocity 9AP4-3
      real*8        v9AP5_4    (nr__) ! (m/s) Differential radial velocity 9AP5-4
      real*8        v9AP6_5    (nr__) ! (m/s) Differential radial velocity 9AP6-5
      real*8        v9AP7_6    (nr__) ! (m/s) Differential radial velocity 9AP7-6
      real*8        v9AP8_7    (nr__) ! (m/s) Differential radial velocity 9AP8-7
      real*8        v9AP9_8    (nr__) ! (m/s) Differential radial velocity 9AP9-8

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

C  Loading file 'hd20794.dat'	! HARPS radial velocities for HD20794 and
*                                 corresponding noise proxies

C  Format for file interpretation

    1 format(
     +  F11.5,1X,F9.5,1X,F7.5,1X,F9.5,1X,F7.5,1X,F7.5,1X,F7.5,1X,F7.5,
     +  1X,F7.5,1X,F8.5,1X,F8.5,1X,F8.5,1X,F8.5,1X,F8.5,1X,F8.5,1X,
     +  F8.5,1X,F8.5,1X,F8.5,1X,F8.5,1X,F8.5,1X,F8.5,1X,F8.5,1X,F8.5,
     +  1X,F9.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hd20794.dat')
      write(6,*) '....Loading file: hd20794.dat'
      do i__=1,4883
        read(1,'(A215)')ar__
        read(ar__,1)
     +  RJD(i__),RV(i__),e_RV(i__),BIS(i__),FWHM(i__),Halpha(i__),
     +  logR__HK(i__),NaD1(i__),NaD2(i__),v3AP2_1(i__),v3AP3_2(i__),
     +  v6AP2_1(i__),v6AP3_2(i__),v6AP4_3(i__),v6AP5_4(i__),
     +  v6AP6_5(i__),v9AP2_1(i__),v9AP3_2(i__),v9AP4_3(i__),
     +  v9AP5_4(i__),v9AP6_5(i__),v9AP7_6(i__),v9AP8_7(i__),
     +  v9AP9_8(i__)
c    ..............Just test output...........
        write(6,1)
     +  RJD(i__),RV(i__),e_RV(i__),BIS(i__),FWHM(i__),Halpha(i__),
     +  logR__HK(i__),NaD1(i__),NaD2(i__),v3AP2_1(i__),v3AP3_2(i__),
     +  v6AP2_1(i__),v6AP3_2(i__),v6AP4_3(i__),v6AP5_4(i__),
     +  v6AP6_5(i__),v9AP2_1(i__),v9AP3_2(i__),v9AP4_3(i__),
     +  v9AP5_4(i__),v9AP6_5(i__),v9AP7_6(i__),v9AP8_7(i__),
     +  v9AP9_8(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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