This subroutine class handles a number of cleanup tasks which
need to be done at the end of each processing run,
including creating output catalog files and verifying
the product files. Each of these functions is handled
by a separate method to make it easier to write a sub-class
which overriseds the default body method.
Each processing script should run this subroutine class
(or a decendant of it) last.
Parent Class:
Subs::Sub
Constructor
Accessors
Methods
- body()
Do a number of generic wrapup functions. Specifically:
- save copies of the job.par and processing parfile.
- create all output file catalogs (product and trend by default)
- calculate site-independant checksums
- update the checksums in all FITS file headers
- run the fverify FTOOL on all FITS files.
- check for leftover files, which are not included in any of the output
catalogs
.
- save_parfiles()
Save a copy of the parfiles.
- make_catalogs()
Make all FITS catalogs and the HTML file catalog.
- write_standard_keywords()
Add standard keywords to the headers of all the FITS files.
- make_checksum_file()
Calculate site independant checksums.
- verify()
Run fverify on all the FITS files.
- fits_checksums()
Set FITS checksum keywords.
- leftovers()
Check for leftover files.