-
Notifications
You must be signed in to change notification settings - Fork 35
Tests for clearsky.reno fail with pvlib 0.8.1 #105
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
Comments
Other way around; before v0.8.1, pvlib used left labels. pvlib v0.8.1 uses centered labels. |
Thanks, updated. |
Actually, the alignment is not exposed in the pvlib API. We should probably just accept the centered labels here, and remove/rewrite tests that relied on left-aligned labels. I'm thinking that my approach to testing this function was flawed to begin with, it might be better to mock the pvlib function and check that the window/scale are computed correctly and passed the pvlib function (otherwise we are spending a bunch of effort testing code that isn't even part of pvanalytics). |
Tests for |
Uh oh!
There was an error while loading. Please reload this page.
PVLib 0.8.1 changed the labeling of clear-sky periods (pvlib/pvlib-python#1074) which is resulting in a test failures in
test_clearsky.py
.The change in pvlib labels windows on the center by default, while previous behavior labeled on the left. We probably want to accept the new default behavior from PVLib (updating the tests to match) and expose the new
align
parameter inpvanalytics.clearsky.reno
.The text was updated successfully, but these errors were encountered: