Open martinmCGG opened 1 year ago
Interesting. That certainly looks like a bug. Thanks for the test case.
My guess is that some correction factor is blowing up as altitude nears zero.
I’d welcome more details from anyone who wanted to dig into the details.
PySolar seems to produce discontinuous sun elevation/altitude around sunset (and also near sunrise): there is a ~0.6deg jump in the following test case. May be related to #115.
Minimal example showing the issue: