Closed AndyM15 closed 2 years ago
Thanks for the report! I've improved the test cases to catch this situation, and have landed a fix, now that I'm back from the PyCon conference in Salt Lake City (which is what delayed my response to your issue). To install the development version of Skyfield and try out the fix ahead of the next real release, you could run:
pip install -U https://github.com/skyfielders/python-skyfield/archive/master.zip
Following code (which is based on the "Charting an apparition of Venus" code at the homepage of skyfield) fails for Saturn, as planetary_magnitude() seems not to support the list t for Saturn.
Result into following error output: