FORTRAN Generation
(/./ftp/cats/J/AJ/153/138)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/153/138 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-16
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/AJ/153/138           Radial velocity curve of 51 Peg           (Birkby+, 2017)
*================================================================================
*Discovery of water at high spectral resolution in the atmosphere of 51 Peg b.
*    Birkby J.L., de Kok R.J., Brogi M., Schwarz H., Snellen I.A.G.
*   <Astron. J., 153, 138-138 (2017)>
*   =2017AJ....153..138B    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Stellar radial velocity measurements of 51 Peg
                                  from multiple observatories

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

      real*8        BJD         ! (d) Barycentric Julian Date (BJD_TDB_) (1)
      real*8        RV          ! (m/s) [-33332/132.82] Radial velocity (2)
      real*8        e_RV        ! (m/s) [0.174537/22.17] Uncertainty in RV ({sigma}_RV_)
      character*6   Set         ! Dataset identifier (either ELODIE, HARPS, HIRES,
*                                Lick6, Lick8, or Lick13) (3)
*Note (1): Barycentric Dynamical Time.
*Note (2):
*     The Lick8 radial velocities reported include a +13.1m/s velocity
*     offset correction to the radial velocities extracted from Vizier, to
*     account for the instrumental systematic reported in Fischer et al. 2014
*     (Cat. J/ApJS/210/5). The following additional offsets, determined from a
*     circular orbit fit to each dataset using EXOFAST, can be applied to place
*     all of the radial velocity measurements onto the same zero-point:
*     {gamma}_Lick13_=-21.70m/s,
*     {gamma}_Lick8_ =-4.52m/s,
*     {gamma}_Lick6_=-14.64m/s,
*     {gamma}_ELODIE_=+33251.59m/s,
*     {gamma}_HIRES_ =+2.24m/s,
*     {gamma}_HARPS_=+33152.54m/s.
*Note (3): The discovery measurements datasets are defined as follows:
*     ELODIE = The ELODIE spectro-graph at Observatoire Haute Provence and
*              subsequent additional monitoring. We took these radial velocities
*              measurements from the Naef et al. 2004 (Cat. J/A+A/414/351)
*              compilation;
*      Lick6 = Hamilton spectrograph at the Lick Observatory. The numbers in
*              the Lick dataset names denote the dewar associated with each
*              upgrade to the Hamilton spectrograph, which introduced
*              different velocity offsets;
*      Lick8 = Hamilton spectrograph at the Lick Observatory. The numbers in
*              the Lick dataset names denote the dewar associated with each
*              upgrade to the Hamilton spectrograph, which introduced
*              different velocity offsets;
*     Lick13 = Hamilton spectrograph at the Lick Observatory. The numbers in
*              the Lick dataset names denote the dewar associated with each
*              upgrade to the Hamilton spectrograph, which introduced
*              different velocity offsets;
*      HIRES = High Resolution Echelle Spectrometer (HIRES) at the Keck
*              Observatory;
*      HARPS = High Accuracy Radial velocity Planet Searcher (HARPS) at the
*              ESO-3.6m telescope in 2013 (ESO program ID 091.C-0271,
*              PI: Santos).

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

C  Loading file 'table1.dat'	! Stellar radial velocity measurements of 51 Peg
*                                  from multiple observatories

C  Format for file interpretation

    1 format(F16.8,1X,F15.8,1X,F11.8,1X,A6)

C  Effective file loading

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

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