iris.exceptions
Exceptions specific to the Iris package.
In this module:
Raised when a search yields no ancillary variables.
-
class
iris.exceptions.
AncillaryVariableNotFoundError
[source]
Raised when a search yields no ancillary variables.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when a search yields no cell measures.
-
class
iris.exceptions.
CellMeasureNotFoundError
[source]
Raised when a search yields no cell measures.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when concatenate is expected to produce a single cube, but fails to
do so.
-
class
iris.exceptions.
ConcatenateError
(differences)[source]
Creates a ConcatenateError with a list of textual descriptions of
the differences which prevented a concatenate.
Args:
- differences:
The list of strings which describe the differences.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when a constraint operation has failed to find the correct number
of results.
-
class
iris.exceptions.
ConstraintMismatchError
[source]
Raised when a constraint operation has failed to find the correct number
of results.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when a requested coordinate cannot be collapsed.
-
class
iris.exceptions.
CoordinateCollapseError
[source]
Raised when a requested coordinate cannot be collapsed.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when a routine doesn’t support multi-dimensional coordinates.
-
class
iris.exceptions.
CoordinateMultiDimError
(msg)[source]
Raised when a routine doesn’t support multi-dimensional coordinates.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when a search yields no coordinates.
-
class
iris.exceptions.
CoordinateNotFoundError
[source]
Raised when a search yields no coordinates.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when a coordinate is unexpectedly irregular.
-
class
iris.exceptions.
CoordinateNotRegularError
[source]
Raised when a coordinate is unexpectedly irregular.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when merging two or more cubes that have identical metadata.
-
class
iris.exceptions.
DuplicateDataError
(msg)[source]
Raised when merging two or more cubes that have identical metadata.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised from a callback function when a cube should be ignored on load.
-
class
iris.exceptions.
IgnoreCubeException
[source]
Raised from a callback function when a cube should be ignored on load.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when a Cube validation check fails.
-
class
iris.exceptions.
InvalidCubeError
[source]
Raised when a Cube validation check fails.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Base class for errors in the Iris package.
-
class
iris.exceptions.
IrisError
[source]
Base class for errors in the Iris package.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Common base class for all non-exit exceptions.
-
class
iris.exceptions.
LazyAggregatorError
[source]
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when merge is expected to produce a single cube, but fails to
do so.
-
class
iris.exceptions.
MergeError
(differences)[source]
Creates a MergeError with a list of textual descriptions of
the differences which prevented a merge.
Args:
- differences:
The list of strings which describe the differences.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised by missing functionality.
Different meaning to NotImplementedError, which is for abstract methods.
-
class
iris.exceptions.
NotYetImplementedError
[source]
Raised by missing functionality.
Different meaning to NotImplementedError, which is for abstract methods.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when Iris is unable to translate format-specific codes.
-
class
iris.exceptions.
TranslationError
[source]
Raised when Iris is unable to translate format-specific codes.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args
↑ top ↑
Raised when Iris is unable to convert a unit.
-
class
iris.exceptions.
UnitConversionError
[source]
Raised when Iris is unable to convert a unit.
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
args