Source code for conesToolBox.conesErrors

[docs] class conesPathNotFound(Exception): """ Exception raised when the files are not found """ def __init__(self, path): self.path = path super().__init__(f"CONES ERROR: '{path}' not found")
[docs] class conesKalmanGainInversionError(Exception): """ Exception raised when the Kalman gain matrix inversion check exceeds tolerance, indicating a poorly conditioned (S@S.T + R) matrix """ def __init__(self, value, tolerance): self.value = value self.tolerance = tolerance super().__init__(f"CONES ERROR: Kalman gain inversion check ({value}) exceeds tolerance ({tolerance})")
[docs] class obsNotInClippingsError(Exception): """ Exception raised when an observation is not included in the cell list of any region """ def __init__(self, obsID): self.obsID = obsID super().__init__( f"CONES ERROR: observation {obsID} does not belong to any clipping. " "Please check and re-run your topoSetDict" )