This tool can be used to express the elevation of a grid cell in a digital elevation model (DEM) as a percentage of the relief between the watershed minimum and maximum values. As such, it provides a basic measure of relative topographic position. The user must input a DEM (dem
) and watersheds (watersheds
) raster files.
elev_relative_to_min_max, elevation_above_stream, ElevAbovePit
def elev_relative_to_watershed_min_max(self, dem: Raster, watersheds: Raster) -> Raster: ...