Logo Iris 1.12

Previous topic

iris.cube

Next topic

iris.experimental

This Page

iris.exceptions

Exceptions specific to the Iris package.

In this module:

Raised when a search yields no cell measures.

class iris.exceptions.CellMeasureNotFoundError

Bases: exceptions.KeyError

Raised when a search yields no cell measures.

args
message

↑ top ↑

Raised when concatenate is expected to produce a single cube, but fails to do so.

class iris.exceptions.ConcatenateError(differences)

Bases: iris.exceptions.IrisError

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.

args
message

↑ top ↑

Raised when a constraint operation has failed to find the correct number of results.

class iris.exceptions.ConstraintMismatchError

Bases: iris.exceptions.IrisError

Raised when a constraint operation has failed to find the correct number of results.

args
message

↑ top ↑

Raised when a requested coordinate cannot be collapsed.

class iris.exceptions.CoordinateCollapseError

Bases: iris.exceptions.IrisError

Raised when a requested coordinate cannot be collapsed.

args
message

↑ top ↑

Raised when a routine doesn’t support multi-dimensional coordinates.

class iris.exceptions.CoordinateMultiDimError(msg)

Bases: exceptions.ValueError

Raised when a routine doesn’t support multi-dimensional coordinates.

args
message

↑ top ↑

Raised when a search yields no coordinates.

class iris.exceptions.CoordinateNotFoundError

Bases: exceptions.KeyError

Raised when a search yields no coordinates.

args
message

↑ top ↑

Raised when a coordinate is unexpectedly irregular.

class iris.exceptions.CoordinateNotRegularError

Bases: exceptions.ValueError

Raised when a coordinate is unexpectedly irregular.

args
message

↑ top ↑

Raised when merging two or more cubes that have identical metadata.

class iris.exceptions.DuplicateDataError(msg)

Bases: iris.exceptions.MergeError

Raised when merging two or more cubes that have identical metadata.

args
message

↑ top ↑

Raised from a callback function when a cube should be ignored on load.

class iris.exceptions.IgnoreCubeException

Bases: iris.exceptions.IrisError

Raised from a callback function when a cube should be ignored on load.

args
message

↑ top ↑

Raised when a Cube validation check fails.

class iris.exceptions.InvalidCubeError

Bases: iris.exceptions.IrisError

Raised when a Cube validation check fails.

args
message

↑ top ↑

Base class for errors in the Iris package.

class iris.exceptions.IrisError

Bases: exceptions.Exception

Base class for errors in the Iris package.

args
message

↑ top ↑

None

class iris.exceptions.LazyAggregatorError

Bases: exceptions.Exception

args
message

↑ top ↑

Raised when merge is expected to produce a single cube, but fails to do so.

class iris.exceptions.MergeError(differences)

Bases: iris.exceptions.IrisError

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.

args
message

↑ top ↑

Raised by missing functionality.

Different meaning to NotImplementedError, which is for abstract methods.

class iris.exceptions.NotYetImplementedError

Bases: iris.exceptions.IrisError

Raised by missing functionality.

Different meaning to NotImplementedError, which is for abstract methods.

args
message

↑ top ↑

Raised when Iris is unable to translate format-specific codes.

class iris.exceptions.TranslationError

Bases: iris.exceptions.IrisError

Raised when Iris is unable to translate format-specific codes.

args
message