Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/738/170 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 2026-Sep-12
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/ApJ/738/170 False positive Kepler planet candidates (Morton+, 2011)
*================================================================================
*On the low false positive probabilities of Kepler planet candidates.
* Morton T.D., Johnson J.A.
* <Astrophys. J., 738, 170 (2011)>
* =2011ApJ...738..170M
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! False positive probabilities for Kepler planet
candidates
integer*4 nr__
parameter (nr__=1235) ! Number of records
character*91 ar__ ! Full-size record
real*8 KOI (nr__) ! [1.01/1609.01] Kepler identifier from Borucki
* et al. 2011, Cat. J/ApJ/736/19
real*4 d (nr__) ! (mag) Transit depth {delta}
real*4 Det (nr__) ! Detection threshold (1)
real*4 Kpmag (nr__) ! (mag) [8.22/16.42] Kepler magnitude
integer*4 Ap (nr__) ! (pix) [1/84]? Size of photometric aperture (2)
real*4 GLAT (nr__) ! (deg) [5.87/21.14] Galactic latitude of target star
real*8 Per (nr__) ! (d) [0.4/10389] Candidate period
real*4 M_ (nr__) ! (Msun) [0.21/1.84] Stellar mass (3)
real*4 R_ (nr__) ! (Rsun) [0.27/6.16] Stellar radius (3)
real*4 LBB (nr__) ! Likelihood{times}prior for blended binary
real*4 LHT (nr__) ! Likelihood{times}prior for eclipsing
* hierarchical triple scenario
real*4 Lpl (nr__) ! Likelihood{times}prior for transiting planet
character*1 l_FPP (nr__) ! Limit flag on FPP
real*4 FPP (nr__) ! [0/1] False positive probability (4)
*Note (1): detectability threshold with S/N=3, according to Borucki et al.
* (2011, Cat. J/ApJ/736/19).
*Note (2): According to the publicly available pixel data. Pixels are
* 4" square each.
*Note (3): According to the Kepler Input Catalog (Cat. V/133).
*Note (4): FPP=1-L_pl_/(L_pl_+L_BB_+L_HT_) where L_BB_ and L_HT_ are
* the corresponding terms for the two false positive scenarios.
* See section 4.2 for further explanations.
C=============================================================================
C Loading file 'table2.dat' ! False positive probabilities for Kepler planet
* candidates
C Format for file interpretation
1 format(
+ F7.2,1X,E8.3,1X,E8.3,1X,F5.2,1X,I2,1X,F5.2,1X,F7.1,1X,F4.2,1X,
+ F4.2,1X,E8.3,1X,E8.3,1X,E8.3,1X,A1,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,1235
read(1,'(A91)')ar__
read(ar__,1)
+ KOI(i__),d(i__),Det(i__),Kpmag(i__),Ap(i__),GLAT(i__),
+ Per(i__),M_(i__),R_(i__),LBB(i__),LHT(i__),Lpl(i__),
+ l_FPP(i__),FPP(i__)
if(ar__(33:34) .EQ. '') Ap(i__) = iNULL__
c ..............Just test output...........
write(6,1)
+ KOI(i__),d(i__),Det(i__),Kpmag(i__),Ap(i__),GLAT(i__),
+ Per(i__),M_(i__),R_(i__),LBB(i__),LHT(i__),Lpl(i__),
+ l_FPP(i__),FPP(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end