FORTRAN Generation
(/./ftp/cats/J/PASP/128/G4502)

Conversion of standardized ReadMe file for file /./ftp/cats/J/PASP/128/G4502 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 2024-Apr-18
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/PASP/128/G4502 False alarms in Kepler planet candidate cat.  (Mullally+, 2016)
*================================================================================
*Identifying false alarms in the Kepler planet candidate catalog.
*    Mullally F., Coughlin J.L., Thompson S.E., Christiansen J., Burke C.,
*    Clarke B.D., Haas M.R.
*   <Publ. Astron. Soc. Pac., 128, part no 7, 4502-74502 (2016)>
*   =2016PASP..128g4502M    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Summary of planet candidate KOIs from Q1-Q17 DR24
                                with periods greater than 150 days examined
                                by Marshall

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

      character*9   KOI        (nr__) ! KOI name (KNNNNN.NN)
      integer*4     KIC        (nr__) ! Kepler identification number
      integer*4     TCE        (nr__) ! Threshold crossing event. Order in which this
*                                   KOI was found around the target star by the
*                                   Kepler pipeline in Q1-Q17
      integer*4     NTrans     (nr__) ! Number of observed transits as measured by
*                                   the pipeline
      real*8        Per        (nr__) ! (d) Period (1)
      real*8        e_Per      (nr__) ! (d) ?=0 rms uncertainty on Per
      real*8        Rad        (nr__) ! (Rgeo) Radius in R_{Earth}_ (1)
      real*8        e_Rad      (nr__) ! (Rgeo) ?=0 rms uncertainty on Rad
      real*4        Score      (nr__) ! Confidence Marshall assigns to a KOI (2)
*Note (1): Period and radius values are taken from Seader et al.
*  (2015, Cat. J/ApJS/217/18) and may differ slightly from the final values in
*  Coughlin et al. (2016, Cat. J/ApJS/224/12).
*Note (2): Negative scores indicate high confidence that a KOI is due to a
*  transit while positive scores indicate lower confidence. KOIs with scores >10
*  are deemed to be false positives. The score given in the table is equal to the
*  score of the third strongest individual event for the KOI, which indicates
*  how close the KOI is to being marked as a false positive.

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

C  Loading file 'table1.dat'	! Summary of planet candidate KOIs from Q1-Q17 DR24
*                                with periods greater than 150 days examined
*                                by Marshall

C  Format for file interpretation

    1 format(
     +  A9,1X,I8,1X,I1,1X,I2,1X,F10.6,1X,F8.6,1X,F9.5,2X,F9.5,1X,E7.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,314
        read(1,'(A72)')ar__
        read(ar__,1)
     +  KOI(i__),KIC(i__),TCE(i__),NTrans(i__),Per(i__),e_Per(i__),
     +  Rad(i__),e_Rad(i__),Score(i__)
c    ..............Just test output...........
        write(6,1)
     +  KOI(i__),KIC(i__),TCE(i__),NTrans(i__),Per(i__),e_Per(i__),
     +  Rad(i__),e_Rad(i__),Score(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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