Skip to main content

errors.SnapProcessingError

Processing a single burst or burst pair with SNAP failed.

Usage

Source

errors.SnapProcessingError(
    *args,
    returncode=None,
    output_tail=None,
)

Raised when the GPT graph fails, and for an error staging the input SLCs or writing the product, which is kept as the cause.

Parameters

*args: object

The message, as for any exception.

returncode: int | None = None

Exit code of gpt, negative for the signal that ended it.

output_tail: str | None = None
The last lines gpt printed.

Attributes

returncode

Exit code of gpt, negative for the signal that ended it, such as -9 for SIGKILL. None if gpt timed out or did not run, or the failure came from staging or writing.

output_tail
The last lines gpt printed to stdout and stderr, or None if it printed nothing or did not run.