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-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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/ApJ/642/L99 R-band photometry of GRB 060206 (Wozniak+, 2006)
*================================================================================
*RAPTOR observations of delayed explosive activity in the high-redshift gamma-ray
*burst GRB 060206.
* Wozniak P.R., Vestrand W.T., Wren J.A., White R.R., Evans S.M.,
* Casperson D.
* <Astrophys. J., 642, L99-L102 (2006)>
* =2006ApJ...642L..99W
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! RAPTOR photometry of GRB 060206
integer*4 nr__
parameter (nr__=100) ! Number of records
character*16 ar__ ! Full-size record
real*4 Time (nr__) ! (min) Time of exposure start (since BAT trigger) (1)
real*4 Rmag (nr__) ! (mag) The R-band magnitude (2)
real*4 e_Rmag (nr__) ! (mag) The 1 {sigma} error in Rmag
*Note (1): Time since 2006 February 6, 04:46:53 UT.
*Note (2): Our unfiltered magnitudes were transformed to R-band scale
* (Section 3) and were not corrected for extinction (Galactic E(B-V)
* reddening is only 0.018mag; Schlegel et al. 1998ApJ...500..525S).
C=============================================================================
C Loading file 'table1.dat' ! RAPTOR photometry of GRB 060206
C Format for file interpretation
1 format(F5.1,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,file='table1.dat', status='old')
write(6,*) '....Loading file: table1.dat'
do i__=1,100
read(1,'(A16)')ar__
read(ar__,1)Time(i__),Rmag(i__),e_Rmag(i__)
c ..............Just test output...........
write(6,1)Time(i__),Rmag(i__),e_Rmag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end