Next: Namelist Description
Up: No Title
Previous: Outputs
The program checks for a number of error conditions and
generates an appropriate message before terminating when one is found.
When the program terminates, a non-zero return code is shown
at the terminal, the SKYMAP directory is not updated and the
output files are deleted.
The errors conditions that the program deals with are listed below.
- There is very limited error checking at input time since the
user input are so straight-forward. The user is notified if he
selects an event file for which the exposure and intensity files
already exist. He then has the choice of
reusing the exposure file, overwriting the files or
terminating.
- The program checks that the FITS file read conforms to the
expected format. This includes having the correct number of bits
per pixels, correct number of bins per axis, no more than 10
energy levels, having a data type
of 'COUNTS', using either the galactic or celestial coordinate
system, having a rectangular, polar or Aitoff grid type and
having a valid time range. If any of these conditions is not met,
the program terminates with an error
message.
- If the return code from one of the SENSTV routines is not 0
the program terminates.
- If the map time range is not matched in the timeline
file or if a bad time is read from the timeline file or if the exposure
history file cannot be opened, an error message is written and the
program terminates.
- If a bad time for the ACS values is read or if the data time
range does not match the time for the ACS values, an error message
is printed and the program aborts.
- A warning message is printed if the data time range intersects
both time ranges for the ACS values. The program continues using
the first ACS value.
- An error is produced if the data time is not matched in the
exposure history file or if the file has too many entries.
That number is set to 162199 at this time.
- If the end of file or an I/O error is encountered while reading the
FITS file the program aborts with an error message.
- The total number of bins in the FITS maps may not exceed 648000 while
the maximum numbers of bins on the X and Y axis are limited to 720 and 360
respectively.
Next: Namelist Description
Up: No Title
Previous: Outputs
CGRO SSC
1998-06-29