"Keyword 'MISSION' not found." for some fits files
See original GitHub issueProblem description
Some Kepler light curve fits files downloaded with the wget scripts at https://archive.stsci.edu/kepler/publiclightcurves.html do not have the MISSION keyword in their headers (especially quarter 1 data for KIC 9821777 and above?). This missing keyword renders the data inaccessible to lightkurve. I have not been able to set the mission attribute manually either. Can this attribute be None if the keyword is not in the header as is done for “Campaign” for Kepler data?
Example
import lightkurve
klf = lightkurve.KeplerLightCurveFile(path='kplr009821777-2009166043257_llc.fits')
print(klf.PDCSAP_FLUX)
Expected behavior
Should print the flux array, but instead returns KeyError: “Keyword ‘MISSION’ not found.”
Environment:
- platform (e.g. Linux, OSX, Windows): Linux
- lightkurve version (e.g. 1.0b6): 1.0b8
- installation method (e.g. pip, conda, source): pip
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
"Keyword 'MISSION' not found." for some fits files #180 - GitHub
This missing keyword renders the data inaccessible to lightkurve. I have not been able to set the mission attribute manually either. Can this ......
Read more >FITS File Headers
The main headers are parsed into sections, and all science data files (RAW, ... keywords are also populated from the MPDB and are...
Read more >ASC FITS File Designers' Guide ASC-FITS-2.1.0
ASC FITS File Designers Guide. 5. All HDUs are to contain the DATASUM and CHECKSUM keywords, so that they are properly. checksummed, in...
Read more >Opening fits files with no SIMPLE keyword in python
I have a large number of fits files that I'm unable to open becuase of a missing SIMPLE keyword. When I try to...
Read more >Columns & Keywords for FITS Event List - HEASARC - NASA
Within the context of the HEASARC FITS files, an Event List is defined ... Some missions only record the time of each event...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(Many thanks @keatonb for bringing this issue to our attention 👍 👍 👍 )
Is that why their domain is down?