Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/786/2 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-20 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/786/2 Spitzer photometric time series of HD 97658 (Van Grootel+, 2014) *================================================================================ *Transit confirmation and improved stellar and planet parameters for *the super-Earth HD 97658 b and its host star. * Van Grootel V., Gillon M., Valencia D., Madhusudhan N., Dragomir D., * Howe A.R., Burrows A.S., Demory B.-O., Deming D., Ehrenreich D., Lovis C., * Mayor M., Pepe F., Queloz D., Scuflaire R., Seager S., Segransan D., * Udry S. * <Astrophys. J., 786, 2 (2014)> * =2014ApJ...786....2V (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Spitzer photometric time series of HD 97658, as used by our MCMC algorithm integer*4 nr__ parameter (nr__=2320) ! Number of records character*104 ar__ ! Full-size record real*8 BJD (nr__) ! (d) Barycentric Julian Date; UTC (BJD-2450000) real*8 Flux (nr__) ! Normalized Spitzer/IRAC 4.5 micron flux real*4 e_Flux (nr__) ! Error in Flux real*8 dX (nr__) ! (pix) Spitzer X pixel coordinate real*8 dY (nr__) ! (pix) Spitzer Y pixel coordinate real*4 FWHM (nr__) ! (pix) FWHM of source real*8 FWHMX (nr__) ! (pix) X component of FWHM real*8 FWHMY (nr__) ! (pix) Y component of FWHM real*8 Sky (nr__) ! Sky brightness in electrons C============================================================================= C Loading file 'table1.dat' ! Spitzer photometric time series of HD 97658, * as used by our MCMC algorithm C Format for file interpretation 1 format( + F15.10,1X,F10.8,1X,E14.8,1X,F11.8,1X,F11.8,1X,F6.4,1X,F10.8, + 1X,F10.8,1X,F9.6) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,2320 read(1,'(A104)')ar__ read(ar__,1) + BJD(i__),Flux(i__),e_Flux(i__),dX(i__),dY(i__),FWHM(i__), + FWHMX(i__),FWHMY(i__),Sky(i__) c ..............Just test output........... write(6,1) + BJD(i__),Flux(i__),e_Flux(i__),dX(i__),dY(i__),FWHM(i__), + FWHMX(i__),FWHMY(i__),Sky(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end