-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discontinuity just after sunset #155
Comments
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. |
Hi, Lines 338 to 342 in eabf856
I was trying to figure out the difference between However, as discussed in #14 and #23 this leads to other problems (Fig. 2). The problem starts when For testing, I have increased in the limit in |
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:
The text was updated successfully, but these errors were encountered: