FORTRAN Generation
(/./ftp/cats/J/A_A/622/L7)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/622/L7 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 2026-May-10
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/622/L7        GJ143 and HD23472 radial velocity curves   (Trifonov+, 2019)
*================================================================================
*TESS exoplanet candidates validated with HARPS archival data.
*A massive Neptune around GJ143 and two Neptunes around HD23472.
*    Trifonov T., Rybizki J., Kuerster M.
*    <Astron. Astrophys. 622, L7 (2019)>
*    =2019A&A...622L...7T        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! HARPS Doppler and activity index measurements
                                 of GJ 143

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

      character*1   Note       (nr__) ! [*] Note (1)
      real*8        Epoch      (nr__) ! (d) Epoch (JD)
      real*4        RV         (nr__) ! (m/s) Radial velocity
      real*4        e_RV       (nr__) ! (m/s) rms uncertainty on RV
      real*4        Ha         (nr__) ! H{alpha} activity index
      real*4        e_Ha       (nr__) ! rms uncertainty on H{alpha}
      real*8        dLW        (nr__) ! Differential line width of the spectral lines
      real*4        e_dLW      (nr__) ! rms uncertainty on dLW
      real*8        CRX        (nr__) ! (m/s) RV chromaticity (wavelength dependence)
      real*8        e_CRX      (nr__) ! (m/s) rms uncertainty on CRX
*Note (1): * = HARPS Doppler measurements taken after the fibre upgrade.

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

C  Declarations for 'tablea2.dat'	! HARPS Doppler and activity index measurements
                                 of HD 23472

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

      character*1   Note_1     (nr__1) ! [*] Note (1)
      real*8        Epoch_1    (nr__1) ! (d) Epoch (JD)
      real*4        RV_1       (nr__1) ! (m/s) Radial velocity
      real*4        e_RV_1     (nr__1) ! (m/s) rms uncertainty on RV
      real*4        Ha_1       (nr__1) ! H{alpha} activity index
      real*4        e_Ha_1     (nr__1) ! rms uncertainty on H{alpha}
      real*8        dLW_1      (nr__1) ! Differential line width of the spectral lines
      real*4        e_dLW_1    (nr__1) ! rms uncertainty on dLW
      real*8        CRX_1      (nr__1) ! (m/s) RV chromaticity (wavelength dependence)
      real*8        e_CRX_1    (nr__1) ! (m/s) rms uncertainty on CRX
*Note (1): * = HARPS Doppler measurements taken after the fibre upgrade.

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

C  Loading file 'tablea1.dat'	! HARPS Doppler and activity index measurements
*                                 of GJ 143

C  Format for file interpretation

    1 format(
     +  A1,1X,F11.3,1X,F6.3,1X,F5.3,1X,F6.4,1X,F6.4,1X,F8.4,1X,F6.4,
     +  1X,F8.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,58
        read(1,'(A73)')ar__
        read(ar__,1)
     +  Note(i__),Epoch(i__),RV(i__),e_RV(i__),Ha(i__),e_Ha(i__),
     +  dLW(i__),e_dLW(i__),CRX(i__),e_CRX(i__)
c    ..............Just test output...........
        write(6,1)
     +  Note(i__),Epoch(i__),RV(i__),e_RV(i__),Ha(i__),e_Ha(i__),
     +  dLW(i__),e_dLW(i__),CRX(i__),e_CRX(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea2.dat'	! HARPS Doppler and activity index measurements
*                                 of HD 23472

C  Format for file interpretation

    2 format(
     +  A1,1X,F11.3,1X,F6.3,1X,F5.3,1X,F6.4,1X,F6.4,1X,F8.4,1X,F6.4,
     +  1X,F8.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea2.dat')
      write(6,*) '....Loading file: tablea2.dat'
      do i__=1,14
        read(1,'(A73)')ar__1
        read(ar__1,2)
     +  Note_1(i__),Epoch_1(i__),RV_1(i__),e_RV_1(i__),Ha_1(i__),
     +  e_Ha_1(i__),dLW_1(i__),e_dLW_1(i__),CRX_1(i__),e_CRX_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Note_1(i__),Epoch_1(i__),RV_1(i__),e_RV_1(i__),Ha_1(i__),
     +  e_Ha_1(i__),dLW_1(i__),e_dLW_1(i__),CRX_1(i__),e_CRX_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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