FORTRAN Generation
(/./ftp/cats/J/AJ/158/243)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/158/243 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-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/158/243      A search for multiplanet systems with TESS     (Pearson, 2019)
*================================================================================
*A search for multiplanet systems with TESS using a Bayesian N-body retrieval
*and machine learning.
*    Pearson K.A.
*   <Astron. J., 158, 243 (2019)>
*   =2019AJ....158..243P    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Stellar parameters

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

      integer*4     TIC         ! [9006668/441462736] TESS Input Catalog identifier
      real*4        Tmag        ! (mag) [5.1/15.85] Apparent TESS band magnitude
      real*4        R_          ! (Rsun) [0.154/4.176] Stellar radius
      integer*4     Teff        ! (K) [2955/6900] Effective temperature
      real*4        log_g       ! ([cm/s2]) [3.32/5.135] Log surface gravity
      real*4        v_Fe_H_     ! ([Sun]) [-1.13/0.43] Metallicity
      real*4        u1          ! [0.1/0.565] Linear limb darkening
      real*4        u2          ! [0.065/0.362] Quadratic limb darkening

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

C  Declarations for 'table3.dat'	! Results of artificial intelligence (AI) vetting
                                algorithm

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

      integer*4     TIC_1       ! [9006668/441462736] TESS Input Catalog identifier
      real*4        Prob        ! [1.13e-15/1] Transit probability

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

C  Loading file 'table2.dat'	! Stellar parameters

C  Format for file interpretation

    1 format(I9,1X,F5.2,1X,F5.3,1X,I4,1X,F5.3,1X,F5.2,1X,F5.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,149
        read(1,'(A50)')ar__
        read(ar__,1)TIC,Tmag,R_,Teff,log_g,v_Fe_H_,u1,u2
c    ..............Just test output...........
        write(6,1)TIC,Tmag,R_,Teff,log_g,v_Fe_H_,u1,u2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Results of artificial intelligence (AI) vetting
*                                algorithm

C  Format for file interpretation

    2 format(I9,1X,E8.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,149
        read(1,'(A18)')ar__1
        read(ar__1,2)TIC_1,Prob
c    ..............Just test output...........
        write(6,2)TIC_1,Prob
c    .......End.of.Just test output...........
      end do
      close(1)

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