errors.ProductSettingsMismatchError
An existing product was made with other settings than requested.
Usage
errors.ProductSettingsMismatchError(
*args,
path=None,
differences=None,
)Also raised for a per-burst product made by another SNAP version than the running one, unless either version is undetermined, and for a product that does not record every requested setting, such as one written by an earlier s1bursts. Raised instead of skipping the product when overwrite=False: by BurstProcessor.create_* and SNAPClient.create_* for a per-burst product, and by ResolutionWeighter.compose_* for a composite. Pass overwrite=True to replace the product, or give the other settings their own FileManager directories to keep both.
Parameters
*args: object-
The message, as for any exception.
path: Path | UPath | None = None-
The existing file whose settings differ.
differences: Mapping[str, tuple[str | None, str | None]] | None = None- The differing settings, as for the attribute.
Attributes
path-
The existing file whose settings differ.
differences-
Each differing setting, keyed by the tag or grid property compared, such as
"GRID_SPACING"or"TRANSFORM", mapped to its recorded and its requested value; for"PROCESSING_SOFTWARE_VERSION", the requested value is the running SNAP version.Nonestands for a tag that is absent.