nsink_remove_openwater: Remove open water portions of the HUC

View source: R/nsink_prep_data.R

nsink_remove_openwaterR Documentation

Remove open water portions of the HUC

Description

Uses SSURGO polys and the SSURGO musym = Ws to check for and remove any portion of a HUC that is actually salt water. This should account for the coastal HUCs with large areas of open water.

Usage

nsink_remove_openwater(huc_sf, data_dir)

Arguments

huc_sf

An sf object of the Watershed Boundaries Dataset HUC12

data_dir

Base directory that contains N-Sink data folders. Data may be downloaded with the nsink_get_data function.

Value

An sf object of the HUC without salt water/open water area.


jhollist/nsink documentation built on June 14, 2025, 8:58 p.m.