pingswept / pysolar

Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
http://pysolar.org
GNU General Public License v3.0
373 stars 125 forks source link

Revert "Changes to Clearness index function which should return values between 0 and 1" #105

Closed pingswept closed 5 years ago

pingswept commented 5 years ago

Reverts pingswept/pysolar#104

This broke the build with this error on Python 3.4: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()