enpt.processors.spatial_optimization package

Submodules

enpt.processors.spatial_optimization.spatial_optimization module

EnPT spatial optimization module.

Adapts the EnMAP image geometry to a given Sentinel-2 L2A dataset. Fits the VNIR detector data to the reference image. Corrects for keystone.

class enpt.processors.spatial_optimization.spatial_optimization.Spatial_Optimizer(config: EnPTConfig)[source]

Bases: object

Create an instance of Spatial_Optimizer.

_compute_tie_points()[source]
_get_enmap_band_for_matching() GeoArray[source]

Return the EnMAP band to be used in co-registration in UTM projection at 15m resolution.

_get_enmap_mask_for_matching() GeoArray[source]

Return the EnMAP mask to be used in co-registration in UTM projection at 15m resolution.

_get_optimal_utm_epsg() int[source]

Return the EPSG code of the UTM zone that optimally covers the given EnMAP image.

_get_reference_band_for_matching() GeoArray[source]

Return the reference image band to be used in co-registration in UTM projection at 15m resolution.

static _get_suitable_nodata_value(arr: ndarray)[source]

Get a suitable nodata value for the input array, which is not contained in the array data.

static _interpolate_tiepoints_into_space(tiepoints, outshape, metric='ABS_SHIFT')[source]
optimize_geolayer(enmap_ImageL1: EnMAPL1Product_SensorGeo)[source]

Module contents

EnPT ‘spatial optimization’ module.

class enpt.processors.spatial_optimization.Spatial_Optimizer(config: EnPTConfig)[source]

Bases: object

Create an instance of Spatial_Optimizer.

_compute_tie_points()[source]
_get_enmap_band_for_matching() GeoArray[source]

Return the EnMAP band to be used in co-registration in UTM projection at 15m resolution.

_get_enmap_mask_for_matching() GeoArray[source]

Return the EnMAP mask to be used in co-registration in UTM projection at 15m resolution.

_get_optimal_utm_epsg() int[source]

Return the EPSG code of the UTM zone that optimally covers the given EnMAP image.

_get_reference_band_for_matching() GeoArray[source]

Return the reference image band to be used in co-registration in UTM projection at 15m resolution.

static _get_suitable_nodata_value(arr: ndarray)[source]

Get a suitable nodata value for the input array, which is not contained in the array data.

static _interpolate_tiepoints_into_space(tiepoints, outshape, metric='ABS_SHIFT')[source]
optimize_geolayer(enmap_ImageL1: EnMAPL1Product_SensorGeo)[source]