FITS Standard Violation

Discussions, Bug Reports and Issues related to Beta versions of SharpCap
Post Reply
procyon12
Posts: 253
Joined: Tue Jan 14, 2020 11:32 am

FITS Standard Violation

#1

Post by procyon12 »

Hi Robin,

I'm glad to see that we have aready 3.3 beta versions.

I made al little check (https://fits.gsfc.nasa.gov/fits_verify.html) of the QHY174GPS (FW upgraded) FITS header. It gave out 8 errors:

*** Error: Keyword #7: Name "GPS_Lat" contains char "a" which is not upper
case letter, digit, "-", or "_".
*** Error: Keyword #8: Name "GPS_Long" contains char "o" which is not upper
case letter, digit, "-", or "_".
*** Error: Keyword #9: Name "GPS_SFlg" contains char "l" which is not upper
case letter, digit, "-", or "_".
*** Error: Keyword #12: Name "GPS_EFlg" contains char "l" which is not upper
case letter, digit, "-", or "_".
*** Error: Keyword #15: Name "GPS_NFlg" contains char "l" which is not upper
case letter, digit, "-", or "_".
*** Error: Keyword #20: Name "GPS_ExpU" contains char "x" which is not upper
case letter, digit, "-", or "_".
*** Error: Keyword #24: Name "GPS_Tmp" contains char "m" which is not upper
case letter, digit, "-", or "_".
*** Error: Keyword #35: Name "GPS_Seq" contains char "e" which is not upper
case letter, digit, "-", or "_".


because in the FITS keywords shall be only upper case letters.

We have had this problem for a long time, it just went unnoticed. To conform to the FITS standard, it would be good if it could be repaired - not very urgent.

Thanks.

Christian
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: FITS Standard Violation

#2

Post by admin »

Hi,

thanks for the heads up. I hope that any processing software is going to be case insensitive when searching for the header names otherwise making this change could break people's workflow :-(

Cheers, Robin
procyon12
Posts: 253
Joined: Tue Jan 14, 2020 11:32 am

Re: FITS Standard Violation

#3

Post by procyon12 »

Hi Robin,

I attach a sample FITS with manually corrected keywords (done with AstroImageJ which is able to edit the keywords also https://www.astro.louisville.edu/software/astroimagej/). This file passes the FITS File Verifier.
I've opened it with various software (including SC :-)), there were no problems.

Christian
Attachments
00003 22_51_39Z_keywEdit.7z
(68.26 KiB) Downloaded 79 times
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: FITS Standard Violation

#4

Post by admin »

Hi,

thanks Cristian, that sounds promising. I've made the change now and it will be in the next update to SharpCap 3.3.

Cheers, Robin
Post Reply