spacetelescope / hellouniverse

https://spacetelescope.github.io/hellouniverse/
11 stars 13 forks source link

Reorganize the "Classifying TESS flares with CNNs" entry #2

Closed cmurray-astro closed 2 years ago

cmurray-astro commented 2 years ago

Add example to its own folder with its own requirements.txt file

jegpeek commented 2 years ago
jegpeek commented 2 years ago

I also got an error at:

lcs = []
for name in ticids:
    lc = search_lightcurve(target='TIC'+name, mission='TESS', sector=[1, 2])
    lc = lc.download_all()
    lcs.append(lc)

which said:

LightkurveError: Not recognized as a supported data product:
/Users/jegpeek/.lightkurve-cache/mastDownload/HLSP/hlsp_gsfc-eleanor-lite_tess_ffi_s0001-0000000278779899_tess_v1.0_lc/hlsp_gsfc-eleanor-lite_tess_ffi_s0001-0000000278779899_tess_v1.0_lc.fits
This file may be corrupt due to an interrupted download. Please remove it from your disk and try again.
cmurray-astro commented 2 years ago

strange! I fixed the above error (now specifies the "author" of the lightcurves to be pulled so it doesn't try for a very recent HLSP (as in days ago!) which doesn't include all of the example TIC IDs). this is likely an issue with the fact that there were several versions floating around before this repo was made public, but now should be fine as this will be the production version from now on :)