iris.warnings#
Warnings specific to the iris
package.
PLEASE NAMESPACE ALL WARNING CLASSES (i.e. prefix with Iris…).
- exception iris.warnings.IrisCannotAddWarning[source]#
Bases:
IrisIgnoringWarning
Warnings where a member object cannot be added to a
Cube
.- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisCfInvalidCoordParamWarning[source]#
Bases:
IrisCfLoadWarning
Warnings where incorrect information for CF coord construction is in a file.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisCfLabelVarWarning[source]#
Bases:
IrisCfLoadWarning
,IrisIgnoringWarning
Warnings where a CF string/label variable is being used inappropriately.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisCfLoadWarning[source]#
Bases:
IrisCfWarning
,IrisLoadWarning
Any warning relating to both loading and CF Conventions .
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisCfMissingVarWarning[source]#
Bases:
IrisCfLoadWarning
Warnings where a CF variable references another variable that is not in the file.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisCfNonSpanningVarWarning[source]#
Bases:
IrisCfLoadWarning
,IrisIgnoringWarning
Warnings where a CF variable is ignored because it does not span the required dimension.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisCfSaveWarning[source]#
Bases:
IrisCfWarning
,IrisSaveWarning
Any warning relating to both saving and CF Conventions .
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisCfWarning[source]#
Bases:
IrisUserWarning
Any warning relating to CF Conventions .
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisDefaultingWarning[source]#
Bases:
IrisUserWarning
Any warning that involves Iris changing invalid/missing information.
E.g. creating a
AuxCoord
from an invalidDimCoord
definition.- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisFactoryCoordNotFoundWarning[source]#
Bases:
IrisLoadWarning
Warnings where a referenced factory coord can not be found when loading a variable in NetCDF Format.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisGeometryExceedWarning[source]#
Bases:
IrisUserWarning
iris.analysis.geometry
warnings about geometry exceeding dimensions.- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisGuessBoundsWarning[source]#
Bases:
IrisDefaultingWarning
Warnings where Iris has filled absent bounds information with a best estimate.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisIgnoringBoundsWarning[source]#
Bases:
IrisIgnoringWarning
Warnings where bounds information has not been used by an Iris operation.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisIgnoringWarning[source]#
Bases:
IrisUserWarning
Any warning that involves an Iris operation not using some information.
E.g.
AuxCoordFactory
generation disregarding bounds.- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisImpossibleUpdateWarning[source]#
Bases:
IrisUserWarning
Warnings where it is not possible to update an object.
Mainly generated during regridding where the necessary information for updating an
AuxCoordFactory
is no longer present.- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisLoadWarning[source]#
Bases:
IrisUserWarning
Any warning relating to loading.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisMaskValueMatchWarning[source]#
Bases:
IrisUserWarning
Warnings where the value representing masked data is actually present in data.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisNimrodTranslationWarning[source]#
Bases:
IrisLoadWarning
For unsupported vertical coord types in
iris.file_formats.nimrod_load_rules
.(Pre-dates the full categorisation of Iris UserWarnings).
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisPpClimModifiedWarning[source]#
Bases:
IrisSaveWarning
,IrisDefaultingWarning
Warnings where a climatology has been modified while saving Post Processing (PP) Format .
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisSaveWarning[source]#
Bases:
IrisUserWarning
Any warning relating to saving.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisSaverFillValueWarning[source]#
Bases:
IrisMaskValueMatchWarning
,IrisSaveWarning
For fill value complications during Iris file saving NetCDF Format.
(Pre-dates the full categorisation of Iris UserWarnings).
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisUnknownCellMethodWarning[source]#
Bases:
IrisCfLoadWarning
If a loaded
CellMethod
is not one the method names known to Iris.(Pre-dates the full categorisation of Iris UserWarnings).
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisUnsupportedPlottingWarning[source]#
Bases:
IrisUserWarning
Warnings where support for a plotting module/function is not guaranteed.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisUserWarning[source]#
Bases:
UserWarning
Base class for
UserWarning
generated by Iris.- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception iris.warnings.IrisVagueMetadataWarning[source]#
Bases:
IrisUserWarning
Warnings where object metadata may not be fully descriptive.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.