stevengiacalone / triceratops

Tool for Rating Interesting Candidate Exoplanets and Reliability Analysis of Transits Originating from Proximate Stars
https://triceratops.readthedocs.io
MIT License
20 stars 7 forks source link

Fix slow tesscut retrieval #30

Closed martindevora closed 4 months ago

martindevora commented 4 months ago

I'm adding this PR to fix timeouts and very slow target acquisitions from Triceratops. At least locally, I'm appreciating a real significant improvement in performance as this was, for me and several other users, the most time consuming task in the tool. I've also added try-except blocks so the tool can continue without data from any problematic sector, logging warnings in such cases.

Let me know if it can be improved and please, if merged, generate a new release as soon as possible.

Regards.