Conversion of standardized ReadMe file for
catalog 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.5, on 2013-May-21
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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/A+A/516/A95 Photometry and spectroscopy of HD 80606b (Hebrard+, 2010)
*================================================================================
*Observation of the full 12-hour-long transit of the exoplanet HD80606b.
*Warm-Spitzer photometry and SOPHIE spectroscopy.
* Hebrard G., Desert J.-M., Diaz R.F., Boisse I., Bouchy F.,
* Lecavelier des Etangs A., Moutou C., Ehrenreich D., Arnold L., Bonfils X.,
* Delfosse X., Desort M., Eggenberger A., Forveille T., Gregorio J.,
* Lagrange A.-M., Lovis C., Pepe F., Perrier C., Pont F., Queloz D.,
* Santerne A., Santos N.C., Segransan D., Sing D.K., Udry S., Vidal-Madjar A.
* <Astron. Astrophys. 516, A95 (2010)>
* =2010A&A...516A..95H
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'spitzer.dat' ! Spitzer/IRAC photometry of HD80606 (as plotted
in Fig. 2, middle panel of the paper)
integer*4 nr__
parameter (nr__=31767) ! Number of records
character*35 ar__ ! Full-size record
real*8 HJD (nr__) ! (d) Heliocentric Julian date
real*4 Flux (nr__) ! Normalized photometry binned per 5 frames
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'sophie.dat' ! OHP/SOPHIE radial velocity measurements of
HD80606 and uncertainties (as plotted in
Figs. 3 and 7 of the paper)
integer*4 nr__1
parameter (nr__1=105) ! Number of records
character*33 ar__1 ! Full-size record
real*8 BJD (nr__1) ! (d) Baricentric Julian date
real*8 RV (nr__1) ! (km/s) Radial velocity
real*8 e_RV (nr__1) ! (km/s) rms uncertainty on RV
C=============================================================================
C Loading file 'spitzer.dat' ! Spitzer/IRAC photometry of HD80606 (as plotted
* in Fig. 2, middle panel of the paper)
C Format for file interpretation
1 format(F16.8,5X,E14.9)
C Effective file loading
open(unit=1,file='spitzer.dat', status='old')
write(6,*) '....Loading file: spitzer.dat'
do i__=1,31767
read(1,'(A35)')ar__
read(ar__,1)HJD(i__),Flux(i__)
c ..............Just test output...........
write(6,1)HJD(i__),Flux(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'sophie.dat' ! OHP/SOPHIE radial velocity measurements of
* HD80606 and uncertainties (as plotted in
* Figs. 3 and 7 of the paper)
C Format for file interpretation
2 format(F13.5,5X,F7.5,1X,F7.5)
C Effective file loading
open(unit=1,file='sophie.dat', status='old')
write(6,*) '....Loading file: sophie.dat'
do i__=1,105
read(1,'(A33)')ar__1
read(ar__1,2)BJD(i__),RV(i__),e_RV(i__)
c ..............Just test output...........
write(6,2)BJD(i__),RV(i__),e_RV(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end