hydromt_sfincs.SfincsModel.set_forcing#

SfincsModel.set_forcing(data: DataArray | Dataset, name: str | None = None, split_dataset: bool | None = True)#

Add data to forcing attribute.

Parameters:
  • data (xarray.Dataset or xarray.DataArray) – New forcing data to add

  • name (str, optional) – Results name, required if data is xarray.Dataset is and split_dataset=False.

  • split_dataset (bool, optional) – If True (default), split a Dataset to store each variable as a DataArray.