Skip to content

Rename ivtools.utility to ivtools.utils, and silence ivtools.sdm warnings#1048

Merged
cwhanse merged 3 commits into
pvlib:masterfrom
cwhanse:ivwarnings
Sep 6, 2020
Merged

Rename ivtools.utility to ivtools.utils, and silence ivtools.sdm warnings#1048
cwhanse merged 3 commits into
pvlib:masterfrom
cwhanse:ivwarnings

Conversation

@cwhanse

@cwhanse cwhanse commented Sep 5, 2020

Copy link
Copy Markdown
Member

Most warnings are from 0/0 or divide by zero operations encountered in tests. These are expected, but should be rare, when various steps of the parameter fitting fail to converge. Code should assign np.nan and proceed.

@wholmgren wholmgren added this to the 0.8.0 milestone Sep 6, 2020
@cwhanse cwhanse changed the title Silence ivtools.sdm warnings Rename ivtools.utility to ivtools.utils, and silence ivtools.sdm warnings Sep 6, 2020
@wholmgren

Copy link
Copy Markdown
Member

@cwhanse thanks this is much cleaner. I'm ok with overlooking the remaining warnings for now. FYI "closes" needs to precede each issue

@cwhanse cwhanse merged commit 2819ac1 into pvlib:master Sep 6, 2020
Comment thread pvlib/ivtools/sdm.py
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.

warnings in test_sdm fit_pvsyst_sandia uses a mutable dict keyword argument

3 participants