Calculates catchment area

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