Fix broken WCS in raw SCUBA-2 file by re-writing it
Description:
Some SCUBA-2 files end up with corrupt WCS extensions. It is possible to recreate the
WCS by looking at the JCMTSTATE and FITS header. The new WCS is written to the file,
replacing the original.
Parameters:
NDF = NDF (Read)
Input files to be fixed.
Notes:
Supports SCUBA-2 raw data files
Currently it will be necessary to remove the corrupt .WCS data using KAPPA ERASE before running
this command.