Skip to content

Conversation

cwhanse
Copy link
Member

@cwhanse cwhanse commented Sep 5, 2020

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