emsarray.exceptions#

Exception and warning classes for specific exceptions relating to emsarray and datasets.

exception emsarray.exceptions.EmsarrayError#

Base class for all emsarray-specific exception classes.

exception emsarray.exceptions.EmsarrayWarning#

Base class for all emsarray-specific warning classes.

exception emsarray.exceptions.ConventionViolationError#

A dataset violates its conventions in a way that is not recoverable.

exception emsarray.exceptions.ConventionViolationWarning#

A dataset violates its conventions in a way that we can handle. For example, an attribute has an invalid type, but is still interpretable.

exception emsarray.exceptions.NoSuchCoordinateError#

Raised when a dataset does not have a particular coordinate, such as in Convention.time_coordinate and Convention.depth_coordinate.

exception emsarray.exceptions.InvalidGeometryWarning#

Some geometry in a dataset was invalid or not simple.