aws.osml.gdal.sidd_sensor_model_builder module
- class aws.osml.gdal.sidd_sensor_model_builder.SIDDSensorModelBuilder(sidd_xml: str)[source]
Bases:
SensorModelBuilder
This builder is used to create sensor models for images that have SIDD metadata. The metadata is provided as XML that conforms to the SIDD specifications. We intend to support multiple SIDD versions but the current software was implemented using the v2.0.0 and v3.0.0 specifications.
Note that the SIDD sensor models rely heavily on the SICD projections so the class of the returned model will be a SICDSensorModel. Future versions may rename this to SISensorModel or SARSensorModel.
- build() SensorModel | None [source]
Attempt to build a precise SAR sensor model. This sensor model handles chipped images natively.
- Returns:
the sensor model; if available
- static from_dataclass(sidd: SIDD | SIDD | SIDD) SensorModel | None [source]
This method constructs a SIDD sensor model from the python dataclasses generated when parsing the XML. If the metadata shows that this is a chip then a ChippedImageSensorModel will be constructed to wrap the SICDSensorModel used for the full image.
- Parameters:
sidd – the dataclass object constructed from the XML
- Returns:
the sensor model; if available