Author Topic: PJSR fits-keywords hint?  (Read 4478 times)

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
PJSR fits-keywords hint?
« on: 2015 August 13 17:55:41 »
1171 Win7:

I assumed that the hint "fits-keywords" on xisf write would force writing fits-keywords.

But if "Store FITS header keywords" is disabled in XISF Preferences, no keywords are written when the hint is specified.

Is this expected? If so, what does the hint do?

Thanks,
Mike

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PJSR fits-keywords hint?
« Reply #1 on: 2015 August 15 02:39:10 »
Hi Mike,

No, this is not the expected behavior, so it if happens then we have a bug. I'll check it..

For a complete list of XISF format hints, see the comment around line 65 of the following source file, above class XISFStreamHints:

https://github.com/PixInsight/PCL/blob/master/src/modules/file-formats/XISF/XISFInstance.cpp

For FITS hints, see the FITSReadHints class:

https://github.com/PixInsight/PCL/blob/master/src/modules/file-formats/FITS/FITSInstance.cpp

Indeed, the "fits-keywords" XISF hint should force storage of FITS header keywords (and "no-fits-keywords" should cause the opposite effect).
Juan Conejero
PixInsight Development Team
http://pixinsight.com/