FORTRAN Generation
(/./ftp/cats/J/AJ/167/282)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/167/282 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-Oct-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/AJ/167/282   TESS/HIRES radial velocity follow up of TOI-1824   (Lange+, 2024)
*================================================================================
*The TESS-Keck Survey.
*VII. A Superdense Sub-Neptune Orbiting TOI-1824.
*    Lange S., Murphy J.M.A., Batalha N.M., Crossfield I.J.M., Dressing C.D.,
*    Fulton B., Howard A.W., Huber D., Isaacson H., Kane S.R., Petigura E.A.,
*    Robertson P., Weiss L.M., Behmard A., Beard C., Blunt S., Brinkman C.L.,
*    Chontos A., Dai F., Dalba P.A., Fetherolf T., Giacalone S., Hill M.L.,
*    Holcomb R., Lubin J., MacDougall M.G., Mayo A.W., Mocnik T.,
*    Pidhorodetska D., Polanski A.S., Rice M., Rosenthal L.J., Rubenzahl R.A.,
*    Scarsdale N., Turtelboom E.V., Van Zandt J., Ciardi D.R., Boyle A.W.
*   <Astron. J., 167, 282 (2024)>
*   =2024AJ....167..282L
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! TOI-1824 radial velocities and SHK values

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

      real*8        BJD         ! (d) [2458967/2459978] Barycentric Julian Date at TDB
      real*4        RVel        ! (m.s-1) [-26.12/30.35] Radial velocity, m/s (1)
      real*4        e_RVel      ! (m.s-1) [1.12/6.78] Uncertainty in RVel (2)
      real*4        SHK         ! [0.33/0.406]? Mt. Wilson CaII HK activity index
      real*4        e_SHK       ! [0.002/0.002]? Uncertainty in SHK
      character*7   Tel         ! Telescope used; APF or HIRES
*Note (1): Instrumental offsets have not been applied to the RVel values
*    listed here.
*Note (2): The RV errors represent measurement uncertainty and have not
*    yet been added in quadrature with the corresponding instrument
*    jitter values resulting from our models of the data

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

C  Loading file 'table2.dat'	! TOI-1824 radial velocities and SHK values

C  Format for file interpretation

    1 format(F14.6,1X,F6.2,1X,F4.2,1X,F5.3,1X,F5.3,1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,333
        read(1,'(A46)')ar__
        read(ar__,1)BJD,RVel,e_RVel,SHK,e_SHK,Tel
        if(ar__(28:32) .EQ. '') SHK = rNULL__
        if(ar__(34:38) .EQ. '') e_SHK = rNULL__
c    ..............Just test output...........
        write(6,1)BJD,RVel,e_RVel,SHK,e_SHK,Tel
c    .......End.of.Just test output...........
      end do
      close(1)

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