Errors API¶
Custom errors defined within pyrcmip
-
exception
pyrcmip.errors.
NoDataForMetricError
¶ Bases:
ValueError
No data available to calculate the given metric
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pyrcmip.errors.
ProtocolConsistencyError
¶ Bases:
ValueError
Inconsistency between input data and the RCMIP protocol
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-