fastscapelib.SingleFlowRouter#

class fastscapelib.SingleFlowRouter#

Single direction flow router operator.

This flow operator routes all the flow passing through a grid node towards its neighbors node of steepest slope.

On a raster grid with 8-node connectivity, this is equivalent to the so-called “D8” algorithm [OCallaghanM84].

__init__(self) None#

SingleFlowRouter initializer.

Methods

__init__(self)

SingleFlowRouter initializer.

Attributes

elevation_updated

graph_updated

in_flowdir

name

Flow operator's name.

out_flowdir