imas.exception

Exception classes used in IMAS-Python.

Exceptions

CoordinateError(node, dimension, ...)

Error raised by ids.validate() to indicate a coordinate check has failed.

CoordinateLookupError

Error raised by IDSCoordinate.__getitem__ when a coordinate cannot be found.

DataEntryException

Error raised by DBEntry for unexpected data in the backend.

IDSNameError(ids_name, factory)

Error raised by DBEntry.get(_slice) when providing an invalid IDS name.

InvalidNetCDFEntry

Error raised when loading an IDS from a NetCDF file that fails validation.

LowlevelError(function, status)

Error raised when lowlevel returns nonzero status

MDSPlusModelError(msg)

Error raised when building MDS+ models.

ValidationError

Error raised by IDSToplevel.validate() to indicate the IDS is not valid.


Last update: 2026-01-28