ch_volcano_pourpoints: Creates a sample file of pour points

View source: R/ch_volcano_pourpoints.R

ch_volcano_pourpointsR Documentation

Creates a sample file of pour points

Description

Creates a file of pour points for the volcano DEM. The pour points define the outlets of sub-basins. These pour points are used by examples within other functions.

Usage

ch_volcano_pourpoints(pp_shp)

Arguments

pp_shp

Name for shapefile to hold pour points

Value

Returns an sf object containing 2 pour points for the volcano DEM. The pour points are also written to the specified file.

Author(s)

Dan Moore and Kevin Shook

See Also

ch_volcano_raster ch_wbt_pourpoints

Examples

pourpoint_file <- tempfile("volcano_pourpoints", fileext = c(".shp"))
pourpoints <- ch_volcano_pourpoints(pourpoint_file)
plot(pourpoints)

CSHS-hydRology/CSHShydRology documentation built on Aug. 18, 2022, 4:44 p.m.