pyflwdir.FlwdirRaster.hand#

FlwdirRaster.hand(drain, elevtn)[source]#

Returns the height above the nearest drain (HAND), i.e.: the relative vertical distance (drop) to the nearest dowstream river based on drainage-normalized topography and flowpaths.

Nobre A D et al. (2016) HAND contour: a new proxy predictor of inundation extent

Hydrol. Process. 30 320-33

Parameters:
  • drain (2D array of bool) – drainage mask

  • elevtn (2D array of float) – elevation raster

Returns:

height above nearest drain

Return type:

2D array of float