Skip to content

Implement FlowObject.flowpathextract #189

@wkearn

Description

@wkearn

Downstream flow path extraction is straightforward: the MATLAB version traverses the stream network and records the indices it encounters, building up the array dynamically. One could also do something like influencemap (using _stream.traverse_down_u32_or_and), followed by extracting the indices of highlighted pixels. The latter does more computation than the former, but does the traversal in libtopotoolbox.

Upstream flow path extraction requires more care because there may be more than one possible flow path. This is somewhat similar to what we do in StreamObject.trunk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions