Skip to content
Discussion options

You must be logged in to vote

The output of the smoothing functions is what we call a "node attribute list," which is a 1D array with one element for every node in the stream network. These nodes correspond to pixels of the source digital elevation model, but not every pixel is in the stream network. The StreamObject.shape attribute is the shape of this DEM. The easiest way to figure out how many nodes are in the stream network is to call s.stream.shape on your StreamObject, but any function that returns a node attribute list will return an array of this length. This includes crs as well as downstream_distance and streamorder among others.

To plot profiles, there is a method StreamObject.plotdz that takes either a Gri…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@fluviotect
Comment options

@wkearn
Comment options

@fluviotect
Comment options

Answer selected by fluviotect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants