hydromt_wflow.WflowModel.setup_config_output_timeseries#

WflowModel.setup_config_output_timeseries(mapname: str, toml_output: str | None = 'csv', header: List[str] | None = ['river_q'], param: List[str] | None = ['river_water__volume_flow_rate'], reducer: List[str] | None = None)[source]#

Set the default gauge map based on basin outlets.

Adds model layers:

  • csv.column config: csv timeseries to save based on mapname locations

  • netcdf.variable config: netcdf timeseries to save based on mapname locations

Parameters:
  • mapname (str) – Name of the gauge map (in staticmaps.nc) to use for scalar output.

  • toml_output (str, optional) – One of [‘csv’, ‘netcdf_scalar’, None] to update [output.csv] or [output.netcdf_scalar] section of wflow toml file or do nothing. By default, ‘csv’.

  • header (list, optional) – Save specific model parameters in csv section. This option defines the header of the csv file. By default saves river_q (for river_water__volume_flow_rate).

  • 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 river_water__volume_flow_rate (for river_q).

  • reducer (list, optional) – If map is an area rather than a point location, provides the reducer for the parameters to save. By default None.