hydromt.Model.set_states#

Model.set_states(data, name=None)[source]#

Add data to states attribute which is a dictionary of xarray.DataArray. The dictionary key is taken from the variable name. In case of a DataArray without name, the name can be passed using the optional name argument.

Parameters: