-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add irradiance.clearsky_index #571
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
Conversation
Two questions for the pvlib team:
|
Thanks @kevinsa5! I recommend limiting this PR to only Copying and modifying |
@kevinsa5 also, thanks. I'd recommend hard-coding some inputs you select, and not running a clear-sky model to generate inputs for the test. |
I couldn't find a |
Codecov Report
@@ Coverage Diff @@
## master #571 +/- ##
===========================================
- Coverage 93.31% 20.48% -72.84%
===========================================
Files 42 42
Lines 6916 6941 +25
===========================================
- Hits 6454 1422 -5032
- Misses 462 5519 +5057
Continue to review full report at Codecov.
|
I couldn't find a |
I couldn't find a |
Apologies for the long delay on this PR. Two questions:
|
@kevinsa5 there are new test failures due to a new version of pytest and there is a known failure due to python/numba. Just make sure your tests are passing. Can you merge the latest pvlib/master into your branch? That should allow stickler to check your code for style/formatting issues. |
Merge upstream master for linter specfile
@kevinsa5 we'd like to merge this before v0.6.1 release. Could you go through the pull request checklist? I think you'll only need to add entries to api.rst and whatsnew. Thanks again. |
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.
this looks close, but what's the time frame for finishing this? there will always be a new feature to add and at some point we need to draw a line and cut the 0.6.1 release.
I appreciate everyone's patience here. If there are any other outstanding issues keeping this from being merge-ready, please let me know. |
Looks good to me so long as we change the PR and issue names to something about clearsky index instead of the more generic "irradiance metrics". |
…lso changed behavior for input inf values to set clearsky index to zero
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.
@kevinsa5 thanks again! |
Please let me know whether I understand the code correctly:
So the extra steps basically serve to pull +inf down to zero rather than to |
|
Thanks! |
docs/sphinx/source/api.rst
for API changes.docs/sphinx/source/whatsnew
file for all changes.