subcatch: Identify a hydrological catchment based on a single direction...

View source: R/subcatch.R

subcatchR Documentation

Identify a hydrological catchment based on a single direction flow algorithm

Description

Identify a hydrological catchment based on a single direction flow algorithm

Usage

  subcatch(DEM,outlet)

Arguments

DEM

A matrix representing a digital elevation model [m] with equally sized pixels and equal x and y resolution

outlet

A vector containing the row and column indices of the pixel representing the catchment outlet.

Value

A binary matrix of the same size as DEM.

Author(s)

Wouter Buytaert, Imperial College London, based on an implementation from the Hydrology Group of Lancaster University

References

See https://github.com/ICHydro/topmodel for examples.

See Also

topmodel


topmodel documentation built on Nov. 16, 2022, 9:08 a.m.

Related to subcatch in topmodel...