Hydrology#
Warning
NaN cells act as impassable barriers in all hydrology functions. Flow cannot cross them. If your DEM has NaN holes (e.g. water bodies masked out), fill or interpolate them first, or expect disconnected drainage networks.
Flow Direction (D8)#
Compute D8 flow direction for each cell. |
Flow Direction (D-infinity)#
|
Compute D-infinity flow direction for each cell. |
Flow Direction (MFD)#
Compute multiple flow direction fractions for each cell. |
Flow Accumulation (D8)#
|
Compute flow accumulation from a D8 flow direction grid. |
Flow Accumulation (D-infinity)#
|
Compute flow accumulation from a D-infinity flow direction grid. |
Flow Accumulation (MFD)#
|
Compute flow accumulation from an MFD flow direction grid. |
Flow Length (D8)#
Compute D8 flow length from a flow direction grid. |
Flow Length (D-infinity)#
Compute flow length from a D-infinity flow direction grid. |
Flow Length (MFD)#
Compute flow length from an MFD flow direction grid. |
Flow Path (D8)#
Trace downstream flow paths from start points through a D8 grid. |
Flow Path (D-infinity)#
Trace downstream flow paths using D-infinity dominant neighbor. |
Flow Path (MFD)#
Trace downstream flow paths using MFD dominant neighbor. |
Fill#
|
Fill depressions in a DEM using Planchon-Darboux iterative flooding. |
Sink#
|
Identify and label depression cells in a D8 flow direction grid. |
Basin#
|
Delineate drainage basins: every cell labeled with its outlet ID. |
Watershed (D8)#
Label each cell with the pour point it drains to. |
|
|
Backward-compatible wrapper; use |
Watershed (D-infinity)#
Label each cell with the pour point it drains to (D-inf). |
Watershed (MFD)#
Label each cell with the pour point it drains to (MFD). |
Snap Pour Point#
Snap pour points to the highest-accumulation cell within a radius. |
Stream Link (D8)#
Assign unique IDs to stream link segments. |
Stream Link (D-infinity)#
Assign unique IDs to stream link segments (D-infinity). |
Stream Link (MFD)#
Assign unique IDs to stream link segments (MFD). |
Stream Order (D8)#
Compute stream order from D8 flow direction and accumulation grids. |
Stream Order (D-infinity)#
Compute stream order from D-infinity flow direction and accumulation. |
Stream Order (MFD)#
Compute stream order from MFD flow direction and accumulation grids. |
Height Above Nearest Drainage (D8)#
|
Compute Height Above Nearest Drainage (HAND). |
Height Above Nearest Drainage (D-infinity)#
|
Compute HAND using D-infinity flow direction. |
Height Above Nearest Drainage (MFD)#
|
Compute HAND using MFD flow direction. |
Topographic Wetness Index (TWI)#
|
Compute the Topographic Wetness Index. |