CDS.headStuff2
FORTRAN Generation
Conversion of standardized ReadMe file for
catalog into FORTRAN code for reading data files line by line.
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-May-19 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/A+A/410/1039 Northern extra-solar planets ELODIE survey I (Perrier+, 2003) *================================================================================ *The ELODIE survey for northern extrasolar planets. I. *6 new extra-solar planet candidates. * Perrier C., Sivan J.P., Naef D., Beuzit J.L., Mayor M., Queloz D., Udry S. * <Astron. Astrophys. 410, 1039 (2003)> * =2003A&A...410.1039P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! Radial velocity measurements for HD 190228 integer*4 nr__ parameter (nr__=51) ! Number of records character*28 ar__ ! Full-size record real*8 BJul ! (d) Barycentric Julian date real*8 RV ! (km/s) Barycentric radial velocity real*4 e_RV ! (km/s) Full RV uncertainty (1) integer*4 Instr ! [1,2] Instrument (1: ELODIE; 2: CORALIE) (2) *Note (1): Full uncertainty: sqrt(err_stat^2 + err_syst^2). * The assumed systematic error is err_syst=0.0065km/s for ELODIE * and 0.003km/s for CORALIE *Note (2): The 5 CORALIE radial velocities obtained for HD 33636 are in * the ELODIE system. (RV_ELODIE_=RV_CORALIE_ + 0.038km/s in this case) C============================================================================= C Loading file 'table6.dat' ! Radial velocity measurements for HD 190228 C Format for file interpretation 1 format(F12.4,1X,F7.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'J/A+A/410/1039/table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,51 read(1,'(A28)')ar__ read(ar__,1)BJul,RV,e_RV,Instr c ..............Just test output........... write(6,1)BJul,RV,e_RV,Instr c .......End.of.Just test output........... end do close(1) C============================================================================= stop end