Creates the valid WCS in the FITS headers of raw data
For IRCAM, old headers are reordered and structured with headings before groups of related keywords. The comments have units added or appear in a standard format. Four deprecated headers are removed. FITS-violating headers are corrected. Spurious instrument names are changed to IRCAM3.
The corrected frame in <i><date>_<obs_number>_raw, where <i> is the frame prefix. For IRIS2, the corrected frame is in <date><obs_number>, where <date> is in the form ddmmm. If the file already exists, it’s only updated.
The processing engines are from the Starlink package KAPPA.
Uses the Starlink NDF format.
History is recorded within the data files.