-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add optional return_components
parameter to irradiance.haydavies
#1568
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
Update the Hay Davies sky transposition model to return individual components by user request.
Thanks @spaneja this looks like a great start. In addition to fixing the stickler/pep8 stuff, can you make a note of the new functionality and add your name to the contributors list in the 0.9.4 what's new file ( I'll take a closer look once the stickler issues are resolved, but one thing I notice now is that the (always zero) horizon component as mentioned in #1553 (comment) is missing. Thanks! |
Added in horizon component, which defaults to 0 or NaN. Also updating some stickler issues.
Updating formatting in file to be in line with stickler. Updating contributors list and corresponding information.
adding in test for when pandas is not being used.
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.
Looking good @spaneja
updated tests for various data types.
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.
LGTM. Thanks @spaneja! I'll leave this open for now to allow any other interested parties to take a look.
return_components
parameter to irradiance.haydavies
Hearing no objections, I'll go ahead and merge this. Thanks again @spaneja |
Update the Hay Davies sky transposition model to return individual components by user request.
docs/sphinx/source/reference
for API changes.docs/sphinx/source/whatsnew
for all changes. Includes link to the GitHub Issue with:issue:`num`
or this Pull Request with:pull:`num`
. Includes contributor name and/or GitHub username (link with:ghuser:`user`
).remote-data
) and Milestone are assigned to the Pull Request and linked Issue.