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!