-
Notifications
You must be signed in to change notification settings - Fork 1.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
Add retrieval function for BSRN data #1254
Conversation
@kanderso-nrel This is my initial idea for the The |
@AdamRJensen our solarforecastarbiter-core adaptation of the BSRN code that you contributed to pvlib includes a change to make a |
@kanderso-nrel Any idea of why the Linux versions fail, but the others pass? The log states that the test My knowledge of Linux is too limited to understand why it would fail on Linux and not the others.. any ideas? |
I don't think it's actually a linux-specific issue, it's just that only the |
If only some files are missing, give only one warning with a list of missing files
@cwhanse Any opinion on adding "gri" (ground-reflected irradiance) to the pvlib list of variables? Or perhaps there are better alternatives for the naming of upward short-wave reflected irradiance? |
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 great @AdamRJensen! Comments below, mostly very nitpicky...
Thanks for the review @kanderso-nrel! Do we need a second review on this? |
My answer to that question is always yes :) https://en.wikipedia.org/wiki/Linus%27s_law |
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, @pvlib/pvlib-maintainer anyone else want to review this?
I don't see how I will make time for it. I vote merge and improve later, if needed. |
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.
Looks good to me. I confirmed the parse function works with data I obtained from the NASA Langley site using requests.
The lines that are not covered are either expected due to the test configuration or are ok to skip for iotools.
Thanks @AdamRJensen! I expect this will be useful to many people.
docs/sphinx/source/api.rst
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`
).Add a retrieval function for BSRN data
pvlib.iotools.get_bsrn
. Data is obtained from the BSRN's FTP server.