Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-39758: Trap undefined value for INHERIT FITS keyword #692

Merged
merged 2 commits into from Jun 23, 2023
Merged

Conversation

timj
Copy link
Member

@timj timj commented Jun 23, 2023

No description provided.

timj added 2 commits June 23, 2023 09:56
This should never happen in a well-formed FITS header (the standard
does not allow it) but in some LATISS test data it does have
an undefined value and this breaks the butler's attempts to
read the file.

This simple change checks for undefined and defaults to False
in that situation. This is not exactly what the LATISS data
need but does allow the file to be read.

Example file: AT_O_20220429_000008_R00_S00.fits
@timj timj merged commit 5dde539 into main Jun 23, 2023
1 check passed
@timj timj deleted the tickets/DM-39758 branch June 23, 2023 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants