Plotting smoothed stream object results #3
Answered
by
wkearn
fluviotect
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
wkearn
Jul 27, 2025
Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
fluviotect
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




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.shapeattribute is the shape of this DEM. The easiest way to figure out how many nodes are in the stream network is to calls.stream.shapeon yourStreamObject, but any function that returns a node attribute list will return an array of this length. This includescrsas well asdownstream_distanceandstreamorderamong others.To plot profiles, there is a method
StreamObject.plotdzthat takes either aGri…