FITS keywords incompatible with PixInsight

Following an updated version of PixInsight released yesterday, and a bug fix release today, data files produced by SGP are causing errors in the ImageIntegration process. The errors are due to the format of the SITELAT and SITELONG keyword valuess in the FITS headers of the files produced by SGP. The PixInsight ImageIntegration process generates errors, but completes and seems to generate correct results despite the errors.

Apparently previous versions of PixInsight ignored these FITS keywords in the ImageIntegration process, but now it is attempting to parse the keyword values as numbers, which produces the error messages. I posted about the error on the PixInsight forum, and the developer informed me that the format of the keywords is wrong in the data files produced by SGP. He cited the SBIG proposal for FITS keyword definitions, which states that the SITELAT and SITELONG keyword valuess should be in the format DD MM SS.

Here is a link to a document containing the proposed keyword definitions::

https://diffractionlimited.com/help/maximdl/FITS_File_Header_Definitions.htm

Ok… I don’t mind conforming to that.

Corrected with the latest PI update.

No @Marcelof, this problem was not fixed with today’s update. The issue with the RA keyword value was fixed, but the issue with the SITELAT and SITELONG keyword values was not fixed.

You will not see the errors if you are re-integrating files that are cached. Uncheck the “Use file cache” checkbox in the Image Integration parameters and you will see the errors again when you re-integrate. That’s assuming you have SITELAT and SITELONG keyword values in your FITS files. These values come from the User Profile settings in SGP.

FYI, there was another PI patch released today (1.08.06.1475) that fixed a different problem with parsing the SITELAT and SITELONG keyword values. The problem with parsing SGP-generated FITS files was not fixed. The PI developer has stated that this issue is caused by incorrectly formatted keyword values in FITS files generated by SGP, and he does not plan to provide a patch in PI. He also stated that the site latitude and longitude values are now being used in PI’s AnnotateImage script, and will be used in other PI processes in the future. So fixing this issue in SGP is necessary to maintain compatibility with PixInsight, which I suspect many of us use to process our images.

Here is a link to the PI forum thread in which I raised this issue and the PI developer responded. Scroll down to the third post in the thread:

https://pixinsight.com/forum/index.php?topic=13635.0

Thanks, Ken, for planning to fix this issue.

Don

This has been changed. It did not make the 3.1.0.198 beta, but will be in the next.

Thanks Ken.

www.mainsequencesoftware.com