- SfincsModel.setup_q_forcing(geodataset_fn=None, timeseries_fn=None, **kwargs)
Setup discharge boundary point locations (src) and time series (dis).
Use geodataset_fn to set the discharge boundary from a dataset of point location timeseries. Only locations within the model domain are selected.
Use timeseries_fn to set discharge boundary conditions to pre-set (src) locations, e.g. after the
The dataset/timeseries are clipped to the model time based on the model config tstart and tstop entries.
Adds model layers:
src geom: discharge gauge point locations
dis forcing: discharge time series [m3/s]
geodataset_fn (str, Path) –
Path or data source name for geospatial point timeseries file. This can either be a netcdf file with geospatial coordinates or a combined point location file with a timeseries data csv file which can be setup through the data_catalog yml file.
Required variables if netcdf: [‘discharge’]
Required coordinates if netcdf: [‘time’, ‘index’, ‘y’, ‘x’]
timeseries_fn (str, Path) – Path to tabulated timeseries csv file with time index in first column and location IDs in the first row, see
hydromt.open_timeseries_from_table(), for details. NOTE: tabulated timeseries files can only in combination with point location coordinates be set as a geodataset in the data_catalog yml file.