hydromt_wflow.WflowSedimentModel.setup_lakes#
- WflowSedimentModel.setup_lakes(lakes_fn: str | Path | GeoDataFrame = 'hydro_lakes', min_area: float = 1.0)[source]#
Generate maps of lake areas and outlets.
Also generates well as parameters with average lake area, depth a discharge values.
The data is generated from features with
min_area
[km2] from a database with lake geometry, IDs and metadata. Currently, “hydro_lakes” (hydroLakes) is the only supportedlakes_fn
data source and we use a default minimum area of 1 km2.Adds model layers:
wflow_lakeareas map: lake IDs [-]
wflow_lakelocs map: lake IDs at outlet locations [-]
LakeArea map: lake area [m2]
LakeAvgLevel map: lake average water level [m]
LakeAvgOut map: lake average discharge [m3/s]
Lake_b map: lake rating curve coefficient [-]
lakes geom: polygon with lakes and wflow lake parameters
- Parameters:
lakes_fn ({'hydro_lakes'}) –
Name of data source for lake parameters, see data/data_sources.yml.
Required variables: [‘waterbody_id’, ‘Area_avg’, ‘Vol_avg’, ‘Depth_avg’, ‘Dis_avg’]
min_area (float, optional) – Minimum lake area threshold [km2], by default 1.0 km2.