aws.osml.gdal.sicd_sensor_model_builder module
- aws.osml.gdal.sicd_sensor_model_builder.xyztype_to_ndarray(xyztype: XYZType | XYZType) ndarray [source]
Convert the XYZType to a 1-d NumPy array.
- Parameters:
xyztype – the XYZType dataclass
- Returns:
the NumPy array
- aws.osml.gdal.sicd_sensor_model_builder.poly1d_to_native(poly1d: Poly1DType | XYZType) Polynomial [source]
Convert the Poly1DType to a NumPy Polynomial.
- Parameters:
poly1d – the Poly1D dataclass
- Returns:
the NumPy polynomial with matching coefficients
- aws.osml.gdal.sicd_sensor_model_builder.poly2d_to_native(poly2d: Poly2DType | Poly2DType) Polynomial2D [source]
Convert the Poly2D dataclass to a Polynomial2D.
- Parameters:
poly2d – the Poly2D dataclass
- Returns:
the Polynomial2D with matching coefficients
- aws.osml.gdal.sicd_sensor_model_builder.xyzpoly_to_native(xyzpoly: XYZPolyType | XYZPolyType) PolynomialXYZ [source]
Convert the XYZPoly dataclass into a PolynomialXYZ.
- Parameters:
xyzpoly – the XYZPoly dataclass
- Returns:
the PolynomialXYZ with matching coefficients
- class aws.osml.gdal.sicd_sensor_model_builder.SICDSensorModelBuilder(sicd_xml: str)[source]
Bases:
SensorModelBuilder
This builder is used to create sensor models for images that have SICD metadata. The metadata is provided as XML that conforms to the SICD specifications. We intend to support multiple SICD versions but the current software was implemented using the v1.2.1 and v1.3.0 specifications.
- 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