UnprocessableDataError

exception lsst.pipe.base.UnprocessableDataError

Exception that will be subclassed and raised by Tasks to indicate a failure to process their inputs for some reason that is non-recoverable.

Notes

An example is a known bright star that causes PSF measurement to fail, and that makes that detector entirely non-recoverable.

Do not raise this unless we are convinced that the data cannot be processed, even by a better algorithm. Most instances where this error would be raised likely require an RFC to explicitly define the situation.