Open bouweandela opened 3 weeks ago
There are assert statements in various places, e.g. https://github.com/SciTools-incubator/iris-esmf-regrid/blob/fdd2051dfff050b18c356a2b4277426e74415a61/esmf_regrid/schemes.py#L185-L186
assert
For applications and users of this library, it would be nice to replace those with exceptions with a message explaining the error.
assert (S101) - Ruff (astral.sh)
There are
assert
statements in various places, e.g. https://github.com/SciTools-incubator/iris-esmf-regrid/blob/fdd2051dfff050b18c356a2b4277426e74415a61/esmf_regrid/schemes.py#L185-L186For applications and users of this library, it would be nice to replace those with exceptions with a message explaining the error.