imod.util.ignore_warnings#

imod.util.ignore_warnings()[source]#

Contextmanager to ignore RuntimeWarnings as they are frequently raised by the Dask delayed scheduler.

Examples

>>> with imod.util.context.ignore_warnings():
        function_that_throws_warnings()