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-Apr-26 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/414/351 ELODIE survey for northern extrasolar planets III (Naef+, 2004) *================================================================================ *The ELODIE survey for northern extra-solar planets. *III. Three planetary candidates detected with ELODIE. * Naef D., Mayor M., Beuzit J.L., Perrier C., Queloz D., Sivan J.P., Udry S. * <Astron. Astrophys., 414, 351-359 (2004)> * =2004A&A...414..351N C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Radial velocity measurements for HD 9826 integer*4 nr__ parameter (nr__=71) ! Number of records character*28 ar__ ! Full-size record real*8 BJD ! (d) Barycentric Julian date real*8 RV ! (km/s) Barycentric radial velocity (1) real*4 e_RV ! (km/s) Full RV uncertainty integer*4 Instr ! [1,2] Instrument (1: ELODIE, 2: CORALIE) *Note (1): The CORALIE velocities (Instr=2) are in the Elodie system. * The fitted velocity offsets are: * RV(ELODIE) = RV(CORALIE) + 0.0248km/s for HD 74156 * RV(ELODIE) = RV(CORALIE) + 0.0143km/s for HD 209458 * The systemic velocities of HD 145675 and HD 187123 exhibit linear * drifts. The fitted slopes are 3.6+/-0.3 (m/s/yr) for HD 145675 and * -8.8+/-0.9 for HD 187123. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Radial velocity measurements for HD 74156 integer*4 nr__1 parameter (nr__1=95) ! Number of records character*28 ar__1 ! Full-size record real*8 BJD_1 ! (d) Barycentric Julian date real*8 RV_1 ! (km/s) Barycentric radial velocity (1) real*4 e_RV_1 ! (km/s) Full RV uncertainty integer*4 Instr_1 ! [1,2] Instrument (1: ELODIE, 2: CORALIE) *Note (1): The CORALIE velocities (Instr=2) are in the Elodie system. * The fitted velocity offsets are: * RV(ELODIE) = RV(CORALIE) + 0.0248km/s for HD 74156 * RV(ELODIE) = RV(CORALIE) + 0.0143km/s for HD 209458 * The systemic velocities of HD 145675 and HD 187123 exhibit linear * drifts. The fitted slopes are 3.6+/-0.3 (m/s/yr) for HD 145675 and * -8.8+/-0.9 for HD 187123. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Radial velocity measurements for HD 75732 integer*4 nr__2 parameter (nr__2=48) ! Number of records character*28 ar__2 ! Full-size record real*8 BJD_2 ! (d) Barycentric Julian date real*8 RV_2 ! (km/s) Barycentric radial velocity (1) real*4 e_RV_2 ! (km/s) Full RV uncertainty integer*4 Instr_2 ! [1,2] Instrument (1: ELODIE, 2: CORALIE) *Note (1): The CORALIE velocities (Instr=2) are in the Elodie system. * The fitted velocity offsets are: * RV(ELODIE) = RV(CORALIE) + 0.0248km/s for HD 74156 * RV(ELODIE) = RV(CORALIE) + 0.0143km/s for HD 209458 * The systemic velocities of HD 145675 and HD 187123 exhibit linear * drifts. The fitted slopes are 3.6+/-0.3 (m/s/yr) for HD 145675 and * -8.8+/-0.9 for HD 187123. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Radial velocity measurements for HD 95128 integer*4 nr__3 parameter (nr__3=44) ! Number of records character*28 ar__3 ! Full-size record real*8 BJD_3 ! (d) Barycentric Julian date real*8 RV_3 ! (km/s) Barycentric radial velocity (1) real*4 e_RV_3 ! (km/s) Full RV uncertainty integer*4 Instr_3 ! [1,2] Instrument (1: ELODIE, 2: CORALIE) *Note (1): The CORALIE velocities (Instr=2) are in the Elodie system. * The fitted velocity offsets are: * RV(ELODIE) = RV(CORALIE) + 0.0248km/s for HD 74156 * RV(ELODIE) = RV(CORALIE) + 0.0143km/s for HD 209458 * The systemic velocities of HD 145675 and HD 187123 exhibit linear * drifts. The fitted slopes are 3.6+/-0.3 (m/s/yr) for HD 145675 and * -8.8+/-0.9 for HD 187123. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Radial velocity measurements for HD 117176 integer*4 nr__4 parameter (nr__4=35) ! Number of records character*28 ar__4 ! Full-size record real*8 BJD_4 ! (d) Barycentric Julian date real*8 RV_4 ! (km/s) Barycentric radial velocity (1) real*4 e_RV_4 ! (km/s) Full RV uncertainty integer*4 Instr_4 ! [1,2] Instrument (1: ELODIE, 2: CORALIE) *Note (1): The CORALIE velocities (Instr=2) are in the Elodie system. * The fitted velocity offsets are: * RV(ELODIE) = RV(CORALIE) + 0.0248km/s for HD 74156 * RV(ELODIE) = RV(CORALIE) + 0.0143km/s for HD 209458 * The systemic velocities of HD 145675 and HD 187123 exhibit linear * drifts. The fitted slopes are 3.6+/-0.3 (m/s/yr) for HD 145675 and * -8.8+/-0.9 for HD 187123. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! Radial velocity measurements for HD 145675 integer*4 nr__5 parameter (nr__5=119) ! Number of records character*28 ar__5 ! Full-size record real*8 BJD_5 ! (d) Barycentric Julian date real*8 RV_5 ! (km/s) Barycentric radial velocity (1) real*4 e_RV_5 ! (km/s) Full RV uncertainty integer*4 Instr_5 ! [1,2] Instrument (1: ELODIE, 2: CORALIE) *Note (1): The CORALIE velocities (Instr=2) are in the Elodie system. * The fitted velocity offsets are: * RV(ELODIE) = RV(CORALIE) + 0.0248km/s for HD 74156 * RV(ELODIE) = RV(CORALIE) + 0.0143km/s for HD 209458 * The systemic velocities of HD 145675 and HD 187123 exhibit linear * drifts. The fitted slopes are 3.6+/-0.3 (m/s/yr) for HD 145675 and * -8.8+/-0.9 for HD 187123. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table7.dat' ! Radial velocity measurements for HD 187123 integer*4 nr__6 parameter (nr__6=57) ! Number of records character*28 ar__6 ! Full-size record real*8 BJD_6 ! (d) Barycentric Julian date real*8 RV_6 ! (km/s) Barycentric radial velocity (1) real*4 e_RV_6 ! (km/s) Full RV uncertainty integer*4 Instr_6 ! [1,2] Instrument (1: ELODIE, 2: CORALIE) *Note (1): The CORALIE velocities (Instr=2) are in the Elodie system. * The fitted velocity offsets are: * RV(ELODIE) = RV(CORALIE) + 0.0248km/s for HD 74156 * RV(ELODIE) = RV(CORALIE) + 0.0143km/s for HD 209458 * The systemic velocities of HD 145675 and HD 187123 exhibit linear * drifts. The fitted slopes are 3.6+/-0.3 (m/s/yr) for HD 145675 and * -8.8+/-0.9 for HD 187123. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table8.dat' ! Radial velocity measurements for HD 209458 integer*4 nr__7 parameter (nr__7=187) ! Number of records character*28 ar__7 ! Full-size record real*8 BJD_7 ! (d) Barycentric Julian date real*8 RV_7 ! (km/s) Barycentric radial velocity (1) real*4 e_RV_7 ! (km/s) Full RV uncertainty integer*4 Instr_7 ! [1,2] Instrument (1: ELODIE, 2: CORALIE) *Note (1): The CORALIE velocities (Instr=2) are in the Elodie system. * The fitted velocity offsets are: * RV(ELODIE) = RV(CORALIE) + 0.0248km/s for HD 74156 * RV(ELODIE) = RV(CORALIE) + 0.0143km/s for HD 209458 * The systemic velocities of HD 145675 and HD 187123 exhibit linear * drifts. The fitted slopes are 3.6+/-0.3 (m/s/yr) for HD 145675 and * -8.8+/-0.9 for HD 187123. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table9.dat' ! Radial velocity measurements for HD 217014 integer*4 nr__8 parameter (nr__8=153) ! Number of records character*28 ar__8 ! Full-size record real*8 BJD_8 ! (d) Barycentric Julian date real*8 RV_8 ! (km/s) Barycentric radial velocity (1) real*4 e_RV_8 ! (km/s) Full RV uncertainty integer*4 Instr_8 ! [1,2] Instrument (1: ELODIE, 2: CORALIE) *Note (1): The CORALIE velocities (Instr=2) are in the Elodie system. * The fitted velocity offsets are: * RV(ELODIE) = RV(CORALIE) + 0.0248km/s for HD 74156 * RV(ELODIE) = RV(CORALIE) + 0.0143km/s for HD 209458 * The systemic velocities of HD 145675 and HD 187123 exhibit linear * drifts. The fitted slopes are 3.6+/-0.3 (m/s/yr) for HD 145675 and * -8.8+/-0.9 for HD 187123. C============================================================================= C Loading file 'table1.dat' ! Radial velocity measurements for HD 9826 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= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,71 read(1,'(A28)')ar__ read(ar__,1)BJD,RV,e_RV,Instr c ..............Just test output........... write(6,1)BJD,RV,e_RV,Instr c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Radial velocity measurements for HD 74156 C Format for file interpretation 2 format(F12.4,1X,F7.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,95 read(1,'(A28)')ar__1 read(ar__1,2)BJD_1,RV_1,e_RV_1,Instr_1 c ..............Just test output........... write(6,2)BJD_1,RV_1,e_RV_1,Instr_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Radial velocity measurements for HD 75732 C Format for file interpretation 3 format(F12.4,1X,F7.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,48 read(1,'(A28)')ar__2 read(ar__2,3)BJD_2,RV_2,e_RV_2,Instr_2 c ..............Just test output........... write(6,3)BJD_2,RV_2,e_RV_2,Instr_2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! Radial velocity measurements for HD 95128 C Format for file interpretation 4 format(F12.4,1X,F7.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,44 read(1,'(A28)')ar__3 read(ar__3,4)BJD_3,RV_3,e_RV_3,Instr_3 c ..............Just test output........... write(6,4)BJD_3,RV_3,e_RV_3,Instr_3 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Radial velocity measurements for HD 117176 C Format for file interpretation 5 format(F12.4,1X,F7.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,35 read(1,'(A28)')ar__4 read(ar__4,5)BJD_4,RV_4,e_RV_4,Instr_4 c ..............Just test output........... write(6,5)BJD_4,RV_4,e_RV_4,Instr_4 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6.dat' ! Radial velocity measurements for HD 145675 C Format for file interpretation 6 format(F12.4,1X,F7.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,119 read(1,'(A28)')ar__5 read(ar__5,6)BJD_5,RV_5,e_RV_5,Instr_5 c ..............Just test output........... write(6,6)BJD_5,RV_5,e_RV_5,Instr_5 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table7.dat' ! Radial velocity measurements for HD 187123 C Format for file interpretation 7 format(F12.4,1X,F7.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table7.dat') write(6,*) '....Loading file: table7.dat' do i__=1,57 read(1,'(A28)')ar__6 read(ar__6,7)BJD_6,RV_6,e_RV_6,Instr_6 c ..............Just test output........... write(6,7)BJD_6,RV_6,e_RV_6,Instr_6 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table8.dat' ! Radial velocity measurements for HD 209458 C Format for file interpretation 8 format(F12.4,1X,F7.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table8.dat') write(6,*) '....Loading file: table8.dat' do i__=1,187 read(1,'(A28)')ar__7 read(ar__7,8)BJD_7,RV_7,e_RV_7,Instr_7 c ..............Just test output........... write(6,8)BJD_7,RV_7,e_RV_7,Instr_7 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table9.dat' ! Radial velocity measurements for HD 217014 C Format for file interpretation 9 format(F12.4,1X,F7.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table9.dat') write(6,*) '....Loading file: table9.dat' do i__=1,153 read(1,'(A28)')ar__8 read(ar__8,9)BJD_8,RV_8,e_RV_8,Instr_8 c ..............Just test output........... write(6,9)BJD_8,RV_8,e_RV_8,Instr_8 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end