readfrfs (version 1.2)

You can also look at:
This routine runs frfread to unpack the raw telemetry into a large number of science files. A new science file is created every time there is a mode change. In addition frfread produces five house-keeping files: one for each instrument and one general file.

All raw event files with no events are then deleted.

The TSTART and TSTOP keywords in the HK files are checked for sensible values. frfread errors have sometimes caused TSTART=0.0. All of the good time intervals for a given instrument are collected into a fits extension which is appended to the approprate HK file. Only GTIs wholly contained between TSTART and TSTOP of a particular HK file are included in that file's extension.

FTOOLS called:

  1. fappend
  2. fselect
  3. setup_parfile
STOOLS called:
  1. compute_exposure
  2. floatcmp
Utilities called:
  1. add_fits_keyword
  2. exception
  3. file_to_log
  4. ftool_test
  5. gti_merge
  6. log_entry
  7. milestone
  8. read_fits_keyword
  9. read_parfile
  10. setup_parfile