bb_area: Calculates catchment area

View source: R/bb_area.R

bb_areaR Documentation

Calculates catchment area

Description

Calculates catchment area

Usage

bb_area(station_basins, germanyshape, polygon_col = "objectid")

Arguments

station_basins

a list, each element has a vector with primary basin id from germanyshape

germanyshape

basin shapefile as a sf object; can be generated with bb_readgermanyshape().

polygon_col

name of id column in shapefile

Value

A vector with catchment area in km2 for each list element (i.e. each catchment)

Examples

## Not run: 
will follow

## End(Not run)

modche/basinbindr documentation built on Feb. 4, 2023, 10:35 p.m.