get_NLDI_catchments: Get NLDI Catchments

View source: R/utils_helpers.R

get_NLDI_catchmentsR Documentation

Get NLDI Catchments

Description

This function grabs the 'local' zonal stats for 'all' subcatchments above a point or only for the 'local' catchment using the NLDI API. This is different than get_NLDI(), which grabs the entire basin above a point.

Usage

get_NLDI_catchments(point, type = "local", method = "all")

Arguments

point

A sf point object.

type

A character 'local' or 'all'.

method

A character 'local' or 'all'.

Value

A list of sf objects: UT and catchments.

Note

This function can be expensive when using type = 'local' and method = 'all' depending on the size of the upstream area.


joshualerickson/hydroapps documentation built on Sept. 4, 2022, 2:48 p.m.