hydromt_wflow.WflowSedimentModel.setup_outlets#
- WflowSedimentModel.setup_outlets(river_only: bool = True, toml_output: str = 'csv', gauge_toml_header: List[str] = ['TSS'], gauge_toml_param: List[str] = ['lateral.river.SSconc'])[source]#
Set the default gauge map based on basin outlets.
Adds model layers:
wflow_gauges map: gauge IDs map from catchment outlets [-]
gauges geom: polygon of catchment outlets
- Parameters:
river_only (bool, optional) – Only derive outlet locations if they are located on a river instead of locations for all catchments. By default True.
toml_output (str, optional) – One of [‘csv’, ‘netcdf’, None] to update [csv] or [netcdf] section of wflow toml file or do nothing. By default, ‘csv’.
gauge_toml_header (list, optional) – Save specific model parameters in csv section. This option defines the header of the csv file. By default saves TSS (for lateral.river.SSconc).
gauge_toml_param (list, optional) – Save specific model parameters in csv section. This option defines the wflow variable corresponding to the names in gauge_toml_header. By default saves lateral.river.SSconc (for TSS).