readfrfs (version 1.9)

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 housekeeping files: one for each instrument and one general file.

After running frfread, this routine does the following:

All raw event files with no events are then deleted, and frame mode files are renamed to begin with "fr" so that they can be saved as trend products. Files with empty GTI extensions are also deleted, but an error is given when this happens.

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. ffilecat
  3. fselect
STOOLS called:
  1. compute_exposure
  2. floatcmp
Utilities called:
  1. add_fits_keyword
  2. dump_table
  3. exception
  4. fetch_file
  5. file_to_log
  6. ftool_test
  7. gti_merge
  8. log_entry
  9. milestone
  10. read_fits_keyword
  11. read_parfile
  12. setup_parfile
  13. stool_test