Skip to content

refactor ModelChain._prep_inputs_solar_pos for wx in poa solpos - #1140

Merged
wholmgren merged 4 commits into
pvlib:masterfrom
wholmgren:presstemp
Jan 22, 2021
Merged

wholmgren merged 4 commits into
pvlib:masterfrom
wholmgren:presstemp

Conversation

@wholmgren

@wholmgren wholmgren commented Jan 22, 2021 •

Copy link
Copy Markdown
Member

Also addresses style issue raised in #1135.

#1113 is also relevant to this PR because we'd end up explicitly passing the temperature data rather than optionally bundling it in kwargs.

@wholmgren wholmgren added the bug label Jan 22, 2021
@wholmgren wholmgren added this to the 0.9.0 milestone Jan 22, 2021
@wholmgren
wholmgren requested a review from cwhanse January 22, 2021 15:53

@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.

LGTM with regard to #1065. Leave #1113 open? The idea proposed there is to drop the fallback to 20C and 1 m/s if temperature and wind speed are not present.

@wholmgren

Copy link
Copy Markdown
Member Author

Yes, sorry, didn't mean to suggest that it would close #1113, only that the same area of the code is relevant (among other parts).

@wholmgren
wholmgren merged commit 641e096 into pvlib:master Jan 22, 2021
@wholmgren
wholmgren deleted the presstemp branch January 22, 2021 21:55
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.

Inconsistent default settings for _prep_inputs_solar_pos in prepare_inputs and prepare_inputs_from_poa

2 participants