readfrfs (version 1.6)

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 deleted. 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 appropriate HK file. All GTIs which overlap the interval 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. equals

Utility scripts called:

  1. add_fits_keyword
  2. any_filename
  3. dump_table
  4. exception
  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