question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MAST Portal does not return light curve files for K2 Campaign 2

See original GitHub issue

Siegfried Vanaverbeke reported the unexpected error below via e-mail. I diagnosed the issue to be the fact that K2 Campaign 2 lightcurves (released at K2 MAST on 5/4/18) are not accessible via the MAST Portal API yet.

@scfleming or @mustaric can you have a look? Thanks++.

In [1]: from lightkurve import KeplerLightCurveFile
In [2]: lcf = KeplerLightCurveFile.from_archive(205483258)
   ...: 
WARNING:root:Target return limit set to 1 but only 0 unique targets found. Try increasing the search radius. (Radius currently set to 1.0 arcseconds)
---------------------------------------------------------------------------
ArchiveError                              Traceback (most recent call last)
<ipython-input-2-6f79dc2d1334> in <module>()
----> 1 lcf = KeplerLightCurveFile.from_archive(205483258)

/home/gb/dev/lightkurve/lightkurve/lightcurvefile.py in from_archive(target, cadence, quarter, month, campaign, radius, targetlimit, verbose, **kwargs)
    141                     target=target, filetype='Lightcurve', cadence=cadence,
    142                     quarter=quarter, campaign=campaign, month=month, verbose=verbose,
--> 143                     radius=radius, targetlimit=targetlimit)
    144         if len(path) == 1:
    145             return KeplerLightCurveFile(path[0], **kwargs)

/home/gb/dev/lightkurve/lightkurve/mast.py in download_kepler_products(target, filetype, cadence, quarter, month, campaign, radius, targetlimit, verbose, **kwargs)
    272                                       radius=radius, targetlimit=targetlimit)
    273     if len(products) == 0:
--> 274         raise ArchiveError("No {} File found for {} at MAST.".format(filetype, target))
    275 
    276     # For Kepler short cadence data there are additional rules, so find anywhere

ArchiveError: No Lightcurve File found for 205483258 at MAST.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
scflemingcommented, Jun 7, 2018

Yep, also adding short cadence for c2, c15 and c16 with this incoming update.

0reactions
svaverbecommented, Jun 14, 2018

Indeed the issue seems to have been solved.

Thanks,

Siegfried

Van: Geert Barentsen [mailto:notifications@github.com] Verzonden: donderdag 14 juni 2018 00:05 Aan: KeplerGO/lightkurve lightkurve@noreply.github.com CC: svaverbe sigfried.vanaverbeke@telenet.be; Mention mention@noreply.github.com Onderwerp: Re: [KeplerGO/lightkurve] MAST Portal does not return light curve files for K2 Campaign 2 (#143)

@scfleming https://github.com/scfleming Awesome!! I confirm the issue posted above has been resolved! 🎉🎈

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KeplerGO/lightkurve/issues/143#issuecomment-397102829 , or mute the thread https://github.com/notifications/unsubscribe-auth/AXsY84eXiVahyIBjHQUr2JGElwdXbUVBks5t8YyjgaJpZM4Ueuq3 . https://github.com/notifications/beacon/AXsY867Q-fkAHB90lVf0Us3C-RiKxFFpks5t8YyjgaJpZM4Ueuq3.gif

Read more comments on GitHub >

github_iconTop Results From Across the Web

MAST Portal does not return light curve files for K2 Campaign 2 ...
I diagnosed the issue to be the fact that K2 Campaign 2 lightcurves (released at K2 MAST on 5/4/18) are not accessible via...
Read more >
MAST K2 Download Options
Gzipped Tar files containing all the light curves for a given campaign can also be downloaded. Each file will be no larger than...
Read more >
K2 Photometry - CfA Harvard
Reduced Light Curves from K2 Campaigns 0 through 19 on MAST. View data on MAST here! Our reduced light curves for Campaigns 0,...
Read more >
ULTRA-SHORT-PERIOD PLANETS IN K2 SUPERPIG ...
For our initial search, we used the best aperture light curves (the "BESTAPER" extension in the FITS files) for the targets available (7746 ......
Read more >
K2 Data Release Notes - Kepler & K2 Science Center
While an attempt was made to start Campaign 20, without sufficient fuel ... The short-cadence light curve file includes the (nominal and unaffected)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found