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-23 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/539/A28 New transit photometry for super-Earth 55 Cnc e (Gillon+, 2012) *================================================================================ *Improved precision on the radius of the nearby super-Earth 55 Cnc e. * Gillon M., Demory B.-O., Benneke B., Valencia D., Deming D., Seager S., * Lovis C., Mayor M., Pepe F., Queloz D., Segransan D., Udry S. * <Astron. Astrophys. 539, A28 (2012)> * =2012A&A...539A..28G C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'irac1.dat' ! IRAC 4.5 microns time-series photometry, 06/01/2011 integer*4 nr__ parameter (nr__=5059) ! Number of records character*92 ar__ ! Full-size record real*8 BJD ! (d) UTC Baselian Julian date real*8 Flux ! Normalized flux real*4 e_Flux ! rms uncertainty on Flux real*8 Xpos ! (pix) X position real*8 Ypos ! (pix) Y position c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'irac2.dat' ! IRAC 4.5 microns time-series photometry, 20/06/2011 integer*4 nr__1 parameter (nr__1=6197) ! Number of records character*92 ar__1 ! Full-size record real*8 BJD_1 ! (d) UTC Baselian Julian date real*8 Flux_1 ! Normalized flux real*4 e_Flux_1 ! rms uncertainty on Flux real*8 Xpos_1 ! (pix) X position real*8 Ypos_1 ! (pix) Y position c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'most1.dat' ! *MOST time-series photometry, 07-09/02/2011 integer*4 nr__2 parameter (nr__2=641) ! Number of records character*73 ar__2 ! Full-size record real*8 BJD_2 ! (d) UTC Baselian Julian date real*8 Flux_2 ! Normalized flux real*8 e_Flux_2 ! rms uncertainty on Flux real*8 dx ! (pix) Offset in X real*8 dy ! (pix) Offset in Y real*8 Bck ! Background counts (1) real*8 B ! Magnetic field (1) *Note (1): The magnetic field is in fact a calculated (not measured) value. * The background and magnetic field are not in physical units. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'most2.dat' ! *MOST time-series photometry, 09-11/02/2011 integer*4 nr__3 parameter (nr__3=643) ! Number of records character*73 ar__3 ! Full-size record real*8 BJD_3 ! (d) UTC Baselian Julian date real*8 Flux_3 ! Normalized flux real*8 e_Flux_3 ! rms uncertainty on Flux real*8 dx_1 ! (pix) Offset in X real*8 dy_1 ! (pix) Offset in Y real*8 Bck_1 ! Background counts (1) real*8 B_1 ! Magnetic field (1) *Note (1): The magnetic field is in fact a calculated (not measured) value. * The background and magnetic field are not in physical units. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'most3.dat' ! *MOST time-series photometry, 12-15/02/2011 integer*4 nr__4 parameter (nr__4=652) ! Number of records character*73 ar__4 ! Full-size record real*8 BJD_4 ! (d) UTC Baselian Julian date real*8 Flux_4 ! Normalized flux real*8 e_Flux_4 ! rms uncertainty on Flux real*8 dx_2 ! (pix) Offset in X real*8 dy_2 ! (pix) Offset in Y real*8 Bck_2 ! Background counts (1) real*8 B_2 ! Magnetic field (1) *Note (1): The magnetic field is in fact a calculated (not measured) value. * The background and magnetic field are not in physical units. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'most4.dat' ! *MOST time-series photometry, 15-17/02/2011 integer*4 nr__5 parameter (nr__5=653) ! Number of records character*73 ar__5 ! Full-size record real*8 BJD_5 ! (d) UTC Baselian Julian date real*8 Flux_5 ! Normalized flux real*8 e_Flux_5 ! rms uncertainty on Flux real*8 dx_3 ! (pix) Offset in X real*8 dy_3 ! (pix) Offset in Y real*8 Bck_3 ! Background counts (1) real*8 B_3 ! Magnetic field (1) *Note (1): The magnetic field is in fact a calculated (not measured) value. * The background and magnetic field are not in physical units. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'most5.dat' ! *MOST time-series photometry, 17-19/02/2011 integer*4 nr__6 parameter (nr__6=653) ! Number of records character*73 ar__6 ! Full-size record real*8 BJD_6 ! (d) UTC Baselian Julian date real*8 Flux_6 ! Normalized flux real*8 e_Flux_6 ! rms uncertainty on Flux real*8 dx_4 ! (pix) Offset in X real*8 dy_4 ! (pix) Offset in Y real*8 Bck_4 ! Background counts (1) real*8 B_4 ! Magnetic field (1) *Note (1): The magnetic field is in fact a calculated (not measured) value. * The background and magnetic field are not in physical units. C============================================================================= C Loading file 'irac1.dat' ! IRAC 4.5 microns time-series photometry, 06/01/2011 C Format for file interpretation 1 format(F19.11,1X,F17.15,1X,E20.16,1X,F16.13,1X,F16.13) C Effective file loading open(unit=1,status='old',file= +'irac1.dat') write(6,*) '....Loading file: irac1.dat' do i__=1,5059 read(1,'(A92)')ar__ read(ar__,1)BJD,Flux,e_Flux,Xpos,Ypos c ..............Just test output........... write(6,1)BJD,Flux,e_Flux,Xpos,Ypos c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'irac2.dat' ! IRAC 4.5 microns time-series photometry, 20/06/2011 C Format for file interpretation 2 format(F19.11,1X,F17.15,1X,E20.16,1X,F16.13,1X,F16.13) C Effective file loading open(unit=1,status='old',file= +'irac2.dat') write(6,*) '....Loading file: irac2.dat' do i__=1,6197 read(1,'(A92)')ar__1 read(ar__1,2)BJD_1,Flux_1,e_Flux_1,Xpos_1,Ypos_1 c ..............Just test output........... write(6,2)BJD_1,Flux_1,e_Flux_1,Xpos_1,Ypos_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'most1.dat' ! *MOST time-series photometry, 07-09/02/2011 C Format for file interpretation 3 format(F14.6,1X,F8.6,1X,F8.6,1X,F9.6,1X,F9.6,1X,F10.7,F10.7) C Effective file loading open(unit=1,status='old',file= +'most1.dat') write(6,*) '....Loading file: most1.dat' do i__=1,641 read(1,'(A73)')ar__2 read(ar__2,3)BJD_2,Flux_2,e_Flux_2,dx,dy,Bck,B c ..............Just test output........... write(6,3)BJD_2,Flux_2,e_Flux_2,dx,dy,Bck,B c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'most2.dat' ! *MOST time-series photometry, 09-11/02/2011 C Format for file interpretation 4 format(F14.6,1X,F8.6,1X,F8.6,1X,F9.6,1X,F9.6,1X,F10.7,F10.7) C Effective file loading open(unit=1,status='old',file= +'most2.dat') write(6,*) '....Loading file: most2.dat' do i__=1,643 read(1,'(A73)')ar__3 read(ar__3,4)BJD_3,Flux_3,e_Flux_3,dx_1,dy_1,Bck_1,B_1 c ..............Just test output........... write(6,4)BJD_3,Flux_3,e_Flux_3,dx_1,dy_1,Bck_1,B_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'most3.dat' ! *MOST time-series photometry, 12-15/02/2011 C Format for file interpretation 5 format(F14.6,1X,F8.6,1X,F8.6,1X,F9.6,1X,F9.6,1X,F10.7,F10.7) C Effective file loading open(unit=1,status='old',file= +'most3.dat') write(6,*) '....Loading file: most3.dat' do i__=1,652 read(1,'(A73)')ar__4 read(ar__4,5)BJD_4,Flux_4,e_Flux_4,dx_2,dy_2,Bck_2,B_2 c ..............Just test output........... write(6,5)BJD_4,Flux_4,e_Flux_4,dx_2,dy_2,Bck_2,B_2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'most4.dat' ! *MOST time-series photometry, 15-17/02/2011 C Format for file interpretation 6 format(F14.6,1X,F8.6,1X,F8.6,1X,F9.6,1X,F9.6,1X,F10.7,F10.7) C Effective file loading open(unit=1,status='old',file= +'most4.dat') write(6,*) '....Loading file: most4.dat' do i__=1,653 read(1,'(A73)')ar__5 read(ar__5,6)BJD_5,Flux_5,e_Flux_5,dx_3,dy_3,Bck_3,B_3 c ..............Just test output........... write(6,6)BJD_5,Flux_5,e_Flux_5,dx_3,dy_3,Bck_3,B_3 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'most5.dat' ! *MOST time-series photometry, 17-19/02/2011 C Format for file interpretation 7 format(F14.6,1X,F8.6,1X,F8.6,1X,F9.6,1X,F9.6,1X,F10.7,F10.7) C Effective file loading open(unit=1,status='old',file= +'most5.dat') write(6,*) '....Loading file: most5.dat' do i__=1,653 read(1,'(A73)')ar__6 read(ar__6,7)BJD_6,Flux_6,e_Flux_6,dx_4,dy_4,Bck_4,B_4 c ..............Just test output........... write(6,7)BJD_6,Flux_6,e_Flux_6,dx_4,dy_4,Bck_4,B_4 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end