hydromt_wflow.WflowSedimentModel.setup_lakes#
- WflowSedimentModel.setup_lakes(lakes_fn: str | Path | GeoDataFrame = 'hydro_lakes', min_area: float = 1.0, output_names: Dict = {'lake_area__count': 'lake_area_id', 'lake_location__count': 'lake_outlet_id', 'lake_surface__area': 'lake_area'}, geom_name: str = 'lakes', **kwargs)[source]#
Generate maps of lake areas and outlets.
Also generates average lake area.
The data is generated from features with
min_area
[km2] from a database with lake geometry, IDs and metadata. Data required are lake ID ‘waterbody_id’, average area ‘Area_avg’ [m2].Adds model layers:
lake_area_id map: lake IDs [-]
lake_outlet_id map: lake IDs at outlet locations [-]
lake_area map: lake area [m2]
lakes geom: polygon with lakes and wflow lake parameters
- Parameters:
lakes_fn –
Name of GeoDataFrame source for lake parameters.
Required variables: [‘waterbody_id’, ‘Area_avg’]
min_area (float, optional) – Minimum lake area threshold [km2], by default 1.0 km2.
output_names (dict, optional) – Dictionary with output names that will be used in the model netcdf input files. Users should provide the Wflow.jl variable name followed by the name in the netcdf file.
geom_name (str, optional) – Name of the lakes geometry in the staticgeoms folder, by default ‘lakes’ for lakes.geojson.
kwargs (optional) – Keyword arguments passed to the method hydromt.DataCatalog.get_rasterdataset()