-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
IO.FITS: Problem with HIERARCH keywords #994
Comments
Well... is there a way to attach a FITS file ? The offending lines in the header are like : reading this header as h, h['key.META_4'] does not return 'calFileVersion'. |
Thanks for the report. I think I see what the problem is--in normal FITS keyword records the value indicator (the string between the keyword and the value) must be |
Thanks for the quick fix. There is still a minor issue: |
There is also another issue, which is reproducible but it's hard to make a simple test case. Maybe if I tell you what happens, you'll understand: What's happening in Card._verify is that
|
I have filed these two issues (with a test case) as spacetelescope/PyFITS#6 and spacetelescope/PyFITS#7 |
This is fixed with the merge of #1076. |
With the FITS package included in astropy 0.2.1, the HIERARCH keywords in the following FITS file cannot be read. It used to work with pyfits 3.0.6
The text was updated successfully, but these errors were encountered: