-
Notifications
You must be signed in to change notification settings - Fork 1k
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
get_sun_rise_set_transit()
results on wrong day
#1631
Comments
Location.get_sun_rise_set_transit defaults to What seems inconsistent to me is that this next/previous concept doesn't exist in #316 seems to be related to the SPA implementation, so not directly relevant here. However for completeness @mdeceglie and @silverman it may be worth confirming that #1449 is not affecting your results. |
Strictly speaking, not a bug since |
pyephem is in maintenance-only mode, the developers are pointing to Skyfield as preferred for new work. Could be time to move away from this dependency. |
I suggest that this aspect of the results (the convention of whether it is next, on the date, or previous) shouldn't depend on the method passed to |
I'm vaguely remembering dealing with this question when implementing the |
Describe the bug
location.Location.get_sun_rise_set_transit() yields results that are time stamps on the wrong day
To Reproduce
Expected behavior
sunrise, sunset, transit occur on the day of the timestamp in the timezone of
times
(or maybeloc
? I'm not sure what the expected behavior should be when those don't match...)Screenshots
Versions:
pvlib.__version__
: 0.9.4pandas.__version__
: 1.4.2Additional context
Seems related to #316. Thanks to @silverman for finding this bug
The text was updated successfully, but these errors were encountered: