-
-
Notifications
You must be signed in to change notification settings - Fork 591
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
Strange key added to map.meta '\x00\x00\x00\x00\x00\x00\x00\x00' #3248
Comments
hmm, now I see that there is a space in the header. An empty line. Maybe it has to do with that. |
So I don't have a lot of time to look into this, but it seems that this FITS file is just broken. Reading the header with
That sequence of From a quick review of |
Maybe the same issue?
results in this traceback:
This is what
|
If I do the example as above (on current master), I get no error now. |
If I try to open the original file, I get this:
|
Description
Trying to convert meta to fits_header using Map.fits_header fails because a very odd key, but this key is not in the original header. It is added somewhere in the construction of the map.
Expected behavior
For the meta not to have this key
Actual behavior
Original header:
Meta:
Offending key:
Error:
Steps to Reproduce
Download this file:
ftp://howard.astro.ucla.edu/pub/obs/fits/1981a/MP00_5250MWO_00_0810201_1868.fits
System Details
The text was updated successfully, but these errors were encountered: