Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/727/102 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-Jun-15
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/727/102 On the frequency of Jupiter analogs (Wittenmyer+, 2011)
*================================================================================
*On the frequency of Jupiter analogs.
* Wittenmyer R.A., Tinney C.G., O'Toole S.J., Jones H.R.A., Butler R.P.,
* Carter B.D., Bailey J.
* <Astrophys. J., 727, 102 (2011)>
* =2011ApJ...727..102W
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Summary of radial-velocity data
integer*4 nr__
parameter (nr__=123) ! Number of records
character*22 ar__ ! Full-size record
character*7 HD (nr__) ! Star name
integer*4 N (nr__) ! Number of observations
real*4 rms (nr__) ! (m/s) RMS velocity
character*3 f_rms (nr__) ! [abc, ] type of rms (1)
*Note (1): Flag as follows:
* a = Residuals after removal of known planet(s) orbit.
* b = Residuals to a linear fit.
* c = Residuals to a quadratic fit.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! *Summary of detection limits
integer*4 nr__1
parameter (nr__1=492) ! Number of records
character*46 ar__1 ! Full-size record
character*7 HD_1 (nr__1) ! Star name
integer*4 RRate (nr__1) ! (%) Recovery rate
real*4 e0_0 (nr__1) ! (m/s) Mean K velocity amplitude detectable at e=0.0
real*4 e_e0_0 (nr__1) ! (m/s) Uncertainty in e0.0
real*4 e0_1 (nr__1) ! (m/s) Mean K velocity amplitude detectable at e=0.1
real*4 e_e0_1 (nr__1) ! (m/s) Uncertainty in e0.1
real*4 e0_2 (nr__1) ! (m/s) Mean K velocity amplitude detectable at e=0.2
real*4 e_e0_2 (nr__1) ! (m/s) Uncertainty in e0.2
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Substellar companions from this sample
integer*4 nr__2
parameter (nr__2=27) ! Number of records
character*151 ar__2 ! Full-size record
character*11 Name (nr__2) ! Planet designation
character*1 n_Name (nr__2) ! [J] J: Jupiter analog ((P>~8yr and e<0.2)
real*8 Per (nr__2) ! (d) Period (P)
real*8 e_Per (nr__2) ! (d) Per uncertainty
real*8 T0 (nr__2) ! (d) Periastron passage T_0_ (JD-2400000)
real*8 e_T0 (nr__2) ! (d) T0 uncertainty
real*4 e (nr__2) ! Eccentricity (e)
real*4 e_e (nr__2) ! Eccentricity uncertainty
real*4 omega (nr__2) ! (deg) Periastron argument {omega}
real*4 e_omega (nr__2) ! (deg) ? omega uncertainty
real*4 K (nr__2) ! (m/s) The velocity amplitude K
real*4 e_K (nr__2) ! (m/s) K uncertainty
real*4 Msini (nr__2) ! (Mjup) Minimum mass of the planet
real*4 e_Msini (nr__2) ! (Mjup) Msini uncertainty
real*4 a (nr__2) ! (AU) Semimajor axis
real*4 e_a (nr__2) ! (AU) ? a uncertainty
character*15 Aut (nr__2) ! Discovery author's name
character*19 BibCode (nr__2) ! Discovery reference
C=============================================================================
C Loading file 'table1.dat' ! Summary of radial-velocity data
C Format for file interpretation
1 format(3X,A7,1X,I3,1X,F4.1,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,123
read(1,'(A22)')ar__
read(ar__,1)HD(i__),N(i__),rms(i__),f_rms(i__)
c ..............Just test output...........
write(6,1)HD(i__),N(i__),rms(i__),f_rms(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! *Summary of detection limits
C Format for file interpretation
2 format(
+ 3X,A7,1X,I2,1X,F5.1,1X,F4.1,1X,F5.1,1X,F4.1,1X,F5.1,1X,F4.1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,492
read(1,'(A46)')ar__1
read(ar__1,2)
+ HD_1(i__),RRate(i__),e0_0(i__),e_e0_0(i__),e0_1(i__),
+ e_e0_1(i__),e0_2(i__),e_e0_2(i__)
c ..............Just test output...........
write(6,2)
+ HD_1(i__),RRate(i__),e0_0(i__),e_e0_0(i__),e0_1(i__),
+ e_e0_1(i__),e0_2(i__),e_e0_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Substellar companions from this sample
C Format for file interpretation
3 format(
+ A11,1X,A1,1X,F10.5,1X,F10.6,1X,F7.1,1X,F7.3,1X,F5.3,1X,F5.3,
+ 1X,F5.1,1X,F5.1,1X,F6.1,1X,F5.2,1X,F6.3,1X,F5.3,1X,F6.4,1X,
+ F6.4,1X,A15,1X,A19)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,27
read(1,'(A151)')ar__2
read(ar__2,3)
+ Name(i__),n_Name(i__),Per(i__),e_Per(i__),T0(i__),e_T0(i__),
+ e(i__),e_e(i__),omega(i__),e_omega(i__),K(i__),e_K(i__),
+ Msini(i__),e_Msini(i__),a(i__),e_a(i__),Aut(i__),BibCode(i__)
if(ar__2(71:75) .EQ. '') e_omega(i__) = rNULL__
if(ar__2(110:115) .EQ. '') e_a(i__) = rNULL__
c ..............Just test output...........
write(6,3)
+ Name(i__),n_Name(i__),Per(i__),e_Per(i__),T0(i__),e_T0(i__),
+ e(i__),e_e(i__),omega(i__),e_omega(i__),K(i__),e_K(i__),
+ Msini(i__),e_Msini(i__),a(i__),e_a(i__),Aut(i__),BibCode(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end