Closed cmorsoc closed 1 year ago
Hi there! π Thank you for opening your first Lightkurve issue! π One of our maintainers will get back to you as soon as possible. π©βπ You can expect a response within 7 days. π If you havenβt heard anything by then, feel free to ping this thread. ποΈ We love that you are using Lightkurve and appreciate your feedback. π
Please provide the specific example so that the problem can be reproduced. What is the star
and catalog
in the example?
lc_set = lk.search_lightcurve(star,author=catalog,cadence='long').download_all().stitch()
Hi @orionlee, I'm sorry, it must be an issue with the local Python installation because It runs perfectly on Google Colab. Thanks, Carlos
I'm closing the issue as it sound like to be an issue of corrupted environment. @cmorsoc , write back if you believe otherwise.
Problem description
An script to download lightkurves, which worked two years ago, doesn't work with current version of lightkurve. The line fails: lc_set = lk.search_lightcurve(star,author=catalog,cadence='long').download_all().stitch()
Error message: TypeError Traceback (most recent call last) Cell In[13], line 65 64 # ... ---> 65 lc_set = lk.search_lightcurve(star,author=catalog,cadence='long').download_all().stitch()
File ~/anaconda3/lib/python3.11/site-packages/lightkurve/collections.py:197, in LightCurveCollection.stitch(self, corrector_func) 195 with warnings.catch_warnings(): # ignore "already normalized" message 196 warnings.filterwarnings("ignore", message=".already.") --> 197 lcs = [corrector_func(lc) for lc in self] 199 # Address issue #954: ignore incompatible columns with the same name 200 columns_to_remove = set()
File ~/anaconda3/lib/python3.11/site-packages/lightkurve/collections.py:197, in(.0)
195 with warnings.catch_warnings(): # ignore "already normalized" message
196 warnings.filterwarnings("ignore", message=".already.")
--> 197 lcs = [corrector_func(lc) for lc in self]
199 # Address issue #954: ignore incompatible columns with the same name
200 columns_to_remove = set()
...
Expected behavior
We should get the lightkurve data
Environment
Zorin Linux Pro 16.2 (Ubuntu) lightkurve 2.4.1