nsink_get_flowpath_ends: Get flowpath beginning and ends

View source: R/nsink_generate_flowpath.R

nsink_get_flowpath_endsR Documentation

Get flowpath beginning and ends

Description

Flowpath from land is only portion that needs to be generated from the flow direction grid. This function extracts those portions of the generated flowpath. There may be issues with off network waterbodies... May need to find all sections without connected flowpaths...

Usage

nsink_get_flowpath_ends(flowpath, streams, tot)

Arguments

flowpath

An sf LINESTRING of the flowpath, generated with nsink_generate_flowpath

streams

NHDPlus streams from nsink_prep_data

tot

NHDPlus time of travel from nsink_prep_data which provides the from and to nodes.

Value

An sf object of the portions of the flowpath that are not represented by the NHDPlus flowlines


USEPA/nsink documentation built on Feb. 8, 2025, 12:27 p.m.