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

Seeking a worked example for downloading a non-KIC target's data #1

Open
SimonJMurphy opened this issue Dec 19, 2023 · 0 comments
Open

Comments

@SimonJMurphy
Copy link

If one reads in the catalogue...
hdul = fits.open("hlsp_kbonus-bkg_kepler_kepler_source-catalog_kepler_v1.0_cat.fits")
it can be seen that some targets in the table do not have KIC numbers, e.g. they have
fname==gaia-dr3-2049135051630824064.

I'd like to retrieve the light curve for this target. So far I've tried
a = lk.search_lightcurve("gaia-dr3-2049135051630824064", cadence="long", mission="Kepler", author="KBONUS-BKG").download()
and
a = lk.search_lightcurve("Gaia DR3 2049135051630824064", cadence="long", mission="Kepler", author="KBONUS-BKG").download()
But these don't work. They return, e.g.

Could not resolve gaia-dr3-2049135051630824064 to a sky position.
/Users/sjm/Developer/lib/python3.11/site-packages/lightkurve/search.py:418: LightkurveWarning: Cannot download from an empty search result.
warnings.warn(

It would be useful to have a worked example that doesn't rely on the target already having a KIC number. Thanks!

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

No branches or pull requests

1 participant