Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 6, 2020

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