Errors API
Custom errors defined within pyrcmip
- exception pyrcmip.errors.NoDataForMetricError
Bases:
ValueErrorNo data available to calculate the given metric
- add_note(object, /)
Exception.add_note(note) – add a note to the exception
- with_traceback(object, /)
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception pyrcmip.errors.ProtocolConsistencyError
Bases:
ValueErrorInconsistency between input data and the RCMIP protocol
- add_note(object, /)
Exception.add_note(note) – add a note to the exception
- with_traceback(object, /)
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.