FORTRAN Generation
(/./ftp/cats/J/A_A/702/A118)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/702/A118 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 2026-Jun-13
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/702/A118         HD224018 HARPS-N data                    (Damasso+, 2025)
*================================================================================
*Discovery of a multi-planetary system orbiting the aged Sun-like star HD224018.
*    Damasso M., Naponiello L., Anna John A., Egger J.A., Cretignier M.,
*    Mortier A., Bonomo A.S., Collier Cameron A., Dumusque X., Wilson T.,
*    Buchhave L., Nicholson B., Stalport M., Ghedina A., Latham D.W.,
*    Livingston J., Malavolta L., Sozzetti A., Jenkins J.M., Mantovan G.,
*    Martinez Fiorenzano A.F., Palethorpe L., Tronsgaard R., Udry S., Watson C.A.
*    <Astron. Astrophys. 702, A118 (2025)>
*    =2025A&A...702A.118D        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablee1.dat'	! Full list of RVs and activity indicators

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

      real*8        Time        ! (d) Time (BJD-2450000)
      real*8        RV          ! (m/s) Radial velocity
      real*4        e_RV        ! (m/s) Radial velocity error
      real*8        FWHM        ! (m/s) FWHM
      real*4        e_FWHM      ! (m/s) FWHM error
      real*4        BIS         ! (m/s) Bisector span
      real*4        e_BIS       ! (m/s) Bisector span error
      real*4        Cont        ! Contrast of cross-correlation function
      real*4        e_Cont      ! Contrast of cross-correlation function  error
      real*8        Sindex      ! S-index
      real*4        e_Sindex    ! S-index error

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

C  Declarations for 'tablee2.dat'	! Analysed RVs and SCALPELS decorrelation vector basis

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

      real*8        Time_1      ! (d) Time (BJD-2450000)
      real*4        RV_1        ! (m/s) Relative radial velocity
      real*4        e_RV_1      ! (m/s) Relative radial velocity error
      real*4        U0          ! (m/s) SCALPELS vector basis U0
      real*4        U1          ! (m/s) SCALPELS vector basis U1
      real*4        U2          ! (m/s) SCALPELS vector basis U2

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

C  Loading file 'tablee1.dat'	! Full list of RVs and activity indicators

C  Format for file interpretation

    1 format(
     +  F12.6,1X,F9.2,1X,F5.2,1X,F7.2,1X,F5.2,1X,F6.2,1X,F5.2,1X,F5.2,
     +  1X,F4.2,1X,F7.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablee1.dat')
      write(6,*) '....Loading file: tablee1.dat'
      do i__=1,206
        read(1,'(A81)')ar__
        read(ar__,1)
     +  Time,RV,e_RV,FWHM,e_FWHM,BIS,e_BIS,Cont,e_Cont,Sindex,e_Sindex
c    ..............Just test output...........
        write(6,1)
     +  Time,RV,e_RV,FWHM,e_FWHM,BIS,e_BIS,Cont,e_Cont,Sindex,e_Sindex
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablee2.dat'	! Analysed RVs and SCALPELS decorrelation vector basis

C  Format for file interpretation

    2 format(F12.6,1X,F6.2,1X,F4.2,1X,F6.2,1X,F5.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablee2.dat')
      write(6,*) '....Loading file: tablee2.dat'
      do i__=1,177
        read(1,'(A43)')ar__1
        read(ar__1,2)Time_1,RV_1,e_RV_1,U0,U1,U2
c    ..............Just test output...........
        write(6,2)Time_1,RV_1,e_RV_1,U0,U1,U2
c    .......End.of.Just test output...........
      end do
      close(1)

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