Skip to content

get_sky_diffuse documentation updated (ValueError description)#2187

Merged
kandersolar merged 2 commits intopvlib:mainfrom
BernatNicolau:issue-2186-documentation-get_sky_diffuse
Aug 28, 2024
Merged

get_sky_diffuse documentation updated (ValueError description)#2187
kandersolar merged 2 commits intopvlib:mainfrom
BernatNicolau:issue-2186-documentation-get_sky_diffuse

Conversation

@BernatNicolau
Copy link
Copy Markdown
Contributor

@BernatNicolau BernatNicolau commented Aug 28, 2024

@BernatNicolau
Copy link
Copy Markdown
Contributor Author

Fix can be found here

@kandersolar kandersolar added this to the v0.11.1 milestone Aug 28, 2024
Copy link
Copy Markdown
Member

@kandersolar kandersolar left a comment

Choose a reason for hiding this comment

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

LGTM -- nice job noticing this issue!

@kandersolar kandersolar merged commit a2abe3e into pvlib:main Aug 28, 2024
@BernatNicolau BernatNicolau deleted the issue-2186-documentation-get_sky_diffuse branch August 28, 2024 11:58
Comment thread pvlib/irradiance.py
If model is one of ``'haydavies'``, ``'reindl'``, or ``'perez'`` and
``dni_extra`` is not specified.
If model is one of ``'haydavies'``, ``'reindl'``, ``'perez'``, or
``'perez_driesse'`` and ``dni_extra`` is not specified.
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.

A comma is needed after 'perez_driesse' since the absence of dni_extra applies to each of the models.

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.

[Documentation] perez_driesse is missing in ValueError definition of pvlib.irradiation.get_sky_diffuse

3 participants