MetOffice / CSET

Toolkit for evaluation and investigation of numerical models for weather and climate applications.
https://metoffice.github.io/CSET/
Apache License 2.0
8 stars 1 forks source link

Use UserWarning instead of RuntimeWarning #586

Closed jfrost-mo closed 1 month ago

jfrost-mo commented 2 months ago

Describe the bug

For our own warnings we should use subclasses of UserWarning instead of RuntimeWarning as RuntimeWarning is for when the python interpreter is acting funny.

Expected behaviour

Specific warnings for different behaviours would be nice.