You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm willing to implement this, but we need to agree on some details.
Should set_value_as_xarray only work if the xarray exactly matches the model grid? Or also a for subregion? Should the coordinates match exactly, or do we want to pass them through _coords_to_indices (that might give weird effects if two coords map to the same grid cell)?
Suggestion: start with the simplest case where the xarray must match the model grid exactly.
As counter part of
model.get_value_as_xarray()
it would be nice to havemodel.set_value_as_xarray()
method.As now for example in docs/examples/Irrigation.ipynb we have to flatten an xarray with
It would be nicer if you could do
The text was updated successfully, but these errors were encountered: