Skip to content

Conversation

wholmgren
Copy link
Member

@wholmgren wholmgren added this to the v0.13.1 milestone Sep 22, 2025
@wholmgren wholmgren added the bug label Sep 22, 2025
@wholmgren wholmgren mentioned this pull request Sep 22, 2025
9 tasks
raise ValueError(f"Samples per window of {samples_per_window}"
" found. Each window must contain at least 3 data"
" points."
f" Window length of {window_length} found; increase"
Copy link
Member Author

Choose a reason for hiding this comment

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

flake8 complains about this semi colon despite it being within a string. notably ruff format does not complain about it. In any case I changed it to a period.

Copy link
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.

Thanks @wholmgren!

@kandersolar kandersolar changed the title use inferred wind length in detect clearsky check use inferred window length in detect clearsky check Sep 23, 2025
@kandersolar kandersolar merged commit 41d6022 into pvlib:main Sep 23, 2025
5 checks passed
@wholmgren wholmgren deleted the fixinfer branch September 23, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

detect_clearsky should use inferred window length when comparing to samples_per_window
2 participants