Closed fsteinmetz closed 6 years ago
Yes, I bet you have diagnosed the problem correctly. I'm not sure exactly where to fix the error. This line looks suspicious: https://github.com/pingswept/pysolar/blob/master/pysolar/solar.py#L174
fix available in PR #83
The values returned by
get_azimuth_fast
are completely different from those returned byget_azimuth
. After verification it seems thatget_azimuth_fast
is the culprit. Offset of 180 ?