Skip to content
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

Many warnings emitted from sdba.utils under normal operation #1489

Closed
2 tasks done
Zeitsperre opened this issue Oct 4, 2023 · 0 comments · Fixed by #1490
Closed
2 tasks done

Many warnings emitted from sdba.utils under normal operation #1489

Zeitsperre opened this issue Oct 4, 2023 · 0 comments · Fixed by #1490
Labels
bug Something isn't working

Comments

@Zeitsperre
Copy link
Collaborator

Zeitsperre commented Oct 4, 2023

Setup Information

  • Xclim version: master
  • Python version: All modern version
  • Operating System: Any

Description

When running xclim, there is a particular RuntimeWarning emitted that pollutes the pytest summaries here and elsewhere:

/home/runner/work/xclim/xclim/xclim/sdba/utils.py:345: RuntimeWarning: All-NaN slice encountered in interp_on_quantiles

It would be nice to mute this warning, if possible.

Steps To Reproduce

$ pytest

Additional context

No response

Contribution

  • I would be willing/able to open a Pull Request to address this bug.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Zeitsperre Zeitsperre added the bug Something isn't working label Oct 4, 2023
@Zeitsperre Zeitsperre changed the title Many warnings emitted under normal operation Many warnings emitted from sdba.utils under normal operation Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant