Skip to contents

Ensures the bottom of each cross section is lower then or equal to that one upstream. To do this, we traverse down the network making sure this condition is met, and, in cases where it isn't, we will lower the in channel portion of the cross section to make it true.

Usage

align_banks_and_bottoms(cs_pts, crosswalk_id)

Arguments

cs_pts

dataframe or sf dataframe of classified cross section points (output of classify_points())

crosswalk_id

character, ID column

Value

sf dataframe of cross section points with aligned banks and smoothed bottoms