Closed NewbieOfUESTC closed 3 years ago
Thanks - I'm aware that an old version of Pysolar is in use. This is because until recently we were still supporting Python 2 for Py6S (due to some users being stuck on Python 2 in HPC settings), and newer versions of Pysolar don't support Python 2.
Upgrading the Pysolar dependency and dealing with the new Pysolar API is on the todo list - I will try and get to it as soon as I can, but I have to prioritise paid work.
I tried to replace 2 function in the geometry.py. geometry.py.txt
I've just merged in code to support the new version (I decided to just require v0.9 or later, and not support v0.6 any more). I'll be releasing a new version within the next few days, but in the meantime you can install directly from Github if you want to use it immediately.
Py6s has dependency on Pysolar 0.6 which is a release 7 years ago.
Please consider switch to newer pysolar repo or remove the dependency.