Converts current observation to FITS
Bad pixels are replaced with 65535 as the previous default FITS NaN caused problems for some other tools.
The FITS-WCS encoding is set to "
FITS-WCS(CD)"
to describe the rotation and scaling as a CD matrix
rather than as PC matrix with CDELT values.
The ORIGIN is set to ’
LCOGT’
.
Only the Data component is converted, along with the FITS extension of the NDF and any NDF history records - any other NDF extensions (such as CCDPACK’s) are not converted.