-
Notifications
You must be signed in to change notification settings - Fork 1.1k
removes unused pressure arg from Irradiance.liujordan function #389
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
removes unused pressure arg from Irradiance.liujordan function #389
Conversation
Now, passed 'offset' parameter are used instead of it's default value.
execution of solarposition.get_solarposition with default 'nrel_numpy' value in all cases.
update from pvlib-python
doc string fixes for modelchain.basic_chain function
update to rev 0.5.1.
update from pvlib
update form pvlib's master
…esn't-use-pressure-arg' into irradiance.liujordan-function-doesn't-use-pressure-arg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I don't understand what's causing the tests to fail on appveyor, but I'm pretty sure it's unrelated to these changes.
@@ -14,6 +14,7 @@ Enhancements | |||
Bug fixes | |||
~~~~~~~~~ | |||
* fixed redeclaration of test_simplified_solis_series_elevation (:issue:`387`) | |||
* removed unused 'pressure' arg from irradiance.liujordan function (:issue:`386`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest putting this in the API changes section to give it a little more visibility.
pvlib/test/test_irradiance.py
Outdated
@@ -201,8 +201,7 @@ def test_liujordan(): | |||
columns=['ghi', 'dni', 'dhi'], | |||
index=[0]) | |||
out = irradiance.liujordan( | |||
pd.Series([10]), pd.Series([0.5]), pd.Series([1.1]), | |||
pressure=93000., dni_extra=1400) | |||
pd.Series([10]), pd.Series([0.5]), pd.Series([1.1]),dni_extra=1400) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space after comma
I don't like that tests fail on python 3. When I run on my local windows machine I've got: 457 total, 1 failed, 5 ignored, 451 passed I've created an issue #390 for the failed test. |
Looks like we've resolved all the testing issues, so I'm going to go ahead and merge this. Thanks for the fix @KonstantinTr |
git diff upstream/master -u -- "*.py" | flake8 --diff
and/or landscape.io linting service.docs/sphinx/source/api.rst
for API changes.docs/sphinx/source/whatsnew
file for all changes.