enpt.processors.dem_preprocessing package
Submodules
enpt.processors.dem_preprocessing.dem_preprocessing module
EnPT pre-processing module for digital elevation models.
- class enpt.processors.dem_preprocessing.dem_preprocessing.DEM_Processor(dem_path_geoarray: str | GeoArray, enmapIm_cornerCoords: Tuple[Tuple[float, float]], CPUs: int = None)[source]
Bases:
object
- classmethod get_flat_dem_from_average_elevation(corner_coords_lonlat, average_elevation, xres=30, yres=30)[source]
Return a ‘flat DEM’ instance of DEM_Processor.
(a GeoArray fully covering the given coorner coordinates with the average elevation as pixel values)
- Parameters:
corner_coords_lonlat – corner coordinates to be covered by the output DEM
average_elevation – average elevation in meters
xres – x-resolution in meters
yres – y-resolution in meters
- Returns:
Module contents
EnPT module ‘spatial transform’, containing everthing related to spatial transformations.
- class enpt.processors.dem_preprocessing.DEM_Processor(dem_path_geoarray: str | GeoArray, enmapIm_cornerCoords: Tuple[Tuple[float, float]], CPUs: int = None)[source]
Bases:
object
- classmethod get_flat_dem_from_average_elevation(corner_coords_lonlat, average_elevation, xres=30, yres=30)[source]
Return a ‘flat DEM’ instance of DEM_Processor.
(a GeoArray fully covering the given coorner coordinates with the average elevation as pixel values)
- Parameters:
corner_coords_lonlat – corner coordinates to be covered by the output DEM
average_elevation – average elevation in meters
xres – x-resolution in meters
yres – y-resolution in meters
- Returns: