FORTRAN Generation
(/./ftp/cats/J/A_A/707/A238)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/707/A238 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/707/A238          TOI-2431 RV and flux curves                 (Tas+, 2026)
*================================================================================
*An Earth-sized planet in a 5.4h orbit around a nearby K dwarf.
*    Tas K.H., Stefansson G., Fariz S.N.M., Garg E., Espinoza-Retamal J.I.,
*    Koo E., Bruijne D., Luhn J.K., Ford E.B., Mahadevan S., Logsdon S.E.,
*    Canas C.I., Han T., Everett M.E., Alvarado-Montes J.A., Blake C.,
*    Cochran W.D., Dong J., Fernandes R.B., Giovinazzi M.R., Halverson S.,
*    Kanodia S., Krolikowski D., McElwain M., Ninan J., Paredes L.A.,
*    Robertson P., Schwab C.
*    <Astron. Astrophys. 707, A238 (2026)>
*    =2026A&A...707A.238T        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'rv_data.dat'	! Radial velocity data from NEID and HPF (table B1)

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

      real*8        Time        ! (d) Barycentric Julian Date (TDB)
      real*4        RV          ! (m/s) Radial Velocity
      real*4        e_RV        ! (m/s) Uncertainty of Radial Velocity
      character*4   Inst        ! Instrument name (NEID or HPF)
      character*1   FCO         ! [Y/N] Used in FCO analysis

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

C  Declarations for 'lc_data.dat'	! Transit data from TESS

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

      real*8        Time_1      ! (d) Time of Observation (BJD_TDB)
      real*8        Flux        ! Normalized flux
      real*8        e_Flux      ! Uncertainty of normalized flux

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

C  Loading file 'rv_data.dat'	! Radial velocity data from NEID and HPF (table B1)

C  Format for file interpretation

    1 format(F14.6,3X,F5.1,4X,F4.1,1X,A4,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'rv_data.dat')
      write(6,*) '....Loading file: rv_data.dat'
      do i__=1,15
        read(1,'(A37)')ar__
        read(ar__,1)Time,RV,e_RV,Inst,FCO
c    ..............Just test output...........
        write(6,1)Time,RV,e_RV,Inst,FCO
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'lc_data.dat'	! Transit data from TESS

C  Format for file interpretation

    2 format(2X,F16.8,2X,F8.6,6X,F8.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lc_data.dat')
      write(6,*) '....Loading file: lc_data.dat'
      do i__=1,73522
        read(1,'(A42)')ar__1
        read(ar__1,2)Time_1,Flux,e_Flux
c    ..............Just test output...........
        write(6,2)Time_1,Flux,e_Flux
c    .......End.of.Just test output...........
      end do
      close(1)

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