Skip to content

Equivalent to navigate_byid for working with NHDPlus HR data? #21

Answered by cheginit
miltonstookey asked this question in Q&A

You must be logged in to vote

No, NLDI service currently only supports NHDPlus MR since the HR version is still not production-ready. Regarding getting the main flowlines, for a dataframe of flowlines of a single watershed (for example, after removing the isolated flowlines), you can use levelpathi like so:

flw = flw[flw.levelpathi == flw.levelpathi.min()]

You can check out this example tutorial.

In general, you can use a combination of terminalpa and levelpathi to get the main flowlines. But there are edge cases, so it depends on the region of your interest. You can consult the NHDPlus documentation for a better understanding of different attributes and how they can be used to achieve your purpose.

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@miltonstookey

Answer selected by miltonstookey
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