Skip to content
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 page recreating the two GHUV fields #12

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add page recreating the two GHUV fields #12

wants to merge 3 commits into from

Conversation

kandersolar
Copy link
Member

@kandersolar kandersolar commented Feb 3, 2023

It took some detective work to track down how these two fields are calculated. The NSRDB team has a JPV paper from some years ago with a very similar model, but it lacks the necessary details to actually reproduce their calculations. Eventually the breadcrumbs led me to ASTM G222-21, which does contain the necessary detail.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@kandersolar kandersolar marked this pull request as ready for review February 8, 2023 02:08
@@ -0,0 +1,146 @@
{
Copy link
Member

@AdamRJensen AdamRJensen Feb 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we call it VARIABLE_MAP to be consistent with pvlib? :D

Also, is there a reason that you are using hyphens and not underscores in the mapped variable names?


Reply via ReviewNB

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, is there a reason that you are using hyphens

Just matching the PSM3 API, which uses hyphens for the two ghuv fields: https://developer.nrel.gov/docs/solar/nsrdb/psm3-download/

source/pages/uv-dose.ipynb Show resolved Hide resolved
source/pages/uv-dose.ipynb Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants