Skip to content

Updating Townsends snow model references#2384

Merged
cwhanse merged 8 commits into
pvlib:mainfrom
ayushjariyal:issue_2383
Feb 12, 2025
Merged

Updating Townsends snow model references#2384
cwhanse merged 8 commits into
pvlib:mainfrom
ayushjariyal:issue_2383

Conversation

@ayushjariyal

Copy link
Copy Markdown
Contributor

Comment thread pvlib/snow.py Outdated
Comment thread pvlib/snow.py Outdated
@ayushjariyal ayushjariyal requested a review from cwhanse February 9, 2025 17:51

@cwhanse cwhanse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ayushjariyal you will need to fix the line length and indentation in reference [2]

Please add a note to the whatsnew file for v0.11.3

Comment thread pvlib/snow.py Outdated
@ayushjariyal ayushjariyal requested a review from cwhanse February 10, 2025 03:12
Comment thread docs/sphinx/source/whatsnew/v0.11.3.rst Outdated
@ayushjariyal ayushjariyal requested a review from cwhanse February 10, 2025 09:18

@cwhanse cwhanse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You can add a line after this one in the whatsnew file

* Manoj K S (:ghuser:`manojks1999`)

Comment thread pvlib/snow.py Outdated
@ayushjariyal ayushjariyal requested a review from cwhanse February 10, 2025 17:18
@cwhanse

cwhanse commented Feb 10, 2025

Copy link
Copy Markdown
Member

@ayushjariyal can you fix the line length issues in your editor? I'm having difficulty suggesting corrections here.

@ayushjariyal

Copy link
Copy Markdown
Contributor Author

@cwhanse I’m having trouble understanding why the tests are failing.

Screenshot from 2025-02-10 23-16-15

Could you please help clarify the issue?

@cwhanse cwhanse added this to the v0.11.3 milestone Feb 10, 2025

@cwhanse cwhanse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @ayushjariyal

@cwhanse

cwhanse commented Feb 10, 2025

Copy link
Copy Markdown
Member

@cwhanse I’m having trouble understanding why the tests are failing.
Could you please help clarify the issue?

You can ignore those failures. They are unrelated to the changes you made and they are happening in other PRs.

@ayushjariyal

Copy link
Copy Markdown
Contributor Author

Thank you for the clarification!

@IoannisSifnaios IoannisSifnaios left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Only one suggestion from my side.

Comment thread pvlib/snow.py Outdated
Comment on lines +295 to +296
.. [3] Townsend, T. (2025). Snow Events Definition.
:doi:`10.13140/RG.2.2.14299.68647`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I suggest we use the actual title of the poster and also mention that it was presented in SPI conference in 2013 (see info in the image below)

image

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I agree - I overlooked the "SPI 2013" conference label. Reference text should be

[3] Townsend, T. (2013). Predicting PV Energy Loss Caused by Snow. Solar Power International, Chicago IL. :doi:10.13140/RG.2.2.14299.68647

@ayushjariyal ayushjariyal requested a review from cwhanse February 12, 2025 05:19
Comment thread pvlib/snow.py Outdated
Available at: https://www.nrel.gov/docs/fy25osti/90585.pdf
.. [3] Townsend, T. (2013). Predicting PV Energy Loss Caused by Snow.
Solar Power International, Chicago IL.
doi:`10.13140/RG.2.2.14299.68647`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
doi:`10.13140/RG.2.2.14299.68647`
:doi:`10.13140/RG.2.2.14299.68647`

One last edit I think.

@cwhanse

cwhanse commented Feb 12, 2025

Copy link
Copy Markdown
Member

Thanks @ayushjariyal !

@cwhanse cwhanse merged commit 1a2a2be into pvlib:main Feb 12, 2025
@ayushjariyal

Copy link
Copy Markdown
Contributor Author

@cwhanse Thank you for reviewing and merging my PR! I really appreciate the support. Also, does this organization participate in GSoC? I'm excited to contribute further!

@cwhanse

cwhanse commented Feb 12, 2025

Copy link
Copy Markdown
Member

@ayushjariyal we do participate in GSoC, the current list of project ideas is here.

echedey-ls pushed a commit to echedey-ls/pvlib-python that referenced this pull request Feb 19, 2025
* Updating  Townsends snow model references

* Applying reviews

* Adding a note to the whatsnew file for v0.11.3

* Applying review

* Add myself as contributor and apply reviews

* Fix the line length issue

* Adding actual title of the poster

* correct doi syntax
@kandersolar kandersolar modified the milestones: v0.11.3, v0.12.0 Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

loss_townsend: Update Townsend Snow Model References

4 participants