search_lightcurvefile returning files for multiple Kepler IDs
See original GitHub issueProblem description
Using search_lightcurvefile
to look for data from one Kepler ID returns files for a different Kepler ID in addition to the requested one.
Example
import lightkurve
lc_filelist = lightkurve.search_lightcurvefile(f"KIC 10058374", cadence='long', quarter=[10]).download_all()
Expected behavior
I expect:
print(lc_filelist)
LightCurveFileCollection of 2 objects:
KIC 10058374 (1 KeplerLightCurveFiles) Quarters: 10
Instead I get:
print(lc_filelist)
LightCurveFileCollection of 2 objects:
KIC 10058374 (1 KeplerLightCurveFiles) Quarters: 10
KIC 10058376 (1 KeplerLightCurveFiles) Quarters: 10
Environment
- platform (e.g. Linux, OSX, Windows): OSX High Sierra
- lightkurve version (e.g. 1.0b6): 1.9.1
- installation method (e.g. pip, conda, source): pip
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Searching & downloading Kepler, K2, and TESS data
By default, all available missions will be returned. We will start with the case of searching for a Kepler target using its Kepler...
Read more >Download Options for Kepler Data and Catalogs - MAST Archive
For individual files, both FTP and HTTP can be used to download Kepler data ... These programs accept several parameters for specifying ID...
Read more >Loading multiple datasets on start up · Issue #172 - GitHub
However, I'm having trouble loading two sets of data in componentDidM... ... helper to convert csv file into kepler.gl structure {fields, ...
Read more >How to Use the Interactive Time Series Viewer
Search by Kepler ID Number. From the NASA Exoplanet Archive home page, click the Kepler Light Curves link to view the Exoplanet Transit...
Read more >Two Ways to Get Kepler Light Curves - NASA
As an example, let's create a light curve for Kepler-10. ... Put 11904151 into the box labeled Kepler Id. Click on View; Now...
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
I merged #796 – this issue should now be fixed!
The fix is included in the
v2.0a1
pre-release of Lightkurve v2.0. You can install it by adding--pre
to pip, i.e.:!pip install lightkurve --upgrade --pre
(Note: the alpha pre-release of v2.0 may likely break code in other ways. See
CHANGES.rst
for a summary of major changes.)@astrobel @brackham Thank you for providing these additional examples. They will be very useful to add as unit tests.
I hear you loud and clear! We need to fix this!