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
…able dtype is object or np.object. It works at runtime and the variable is successfully saved in the Dataset, but it fails at sabing to file xarray-contrib#144
* I added a test that provides a dummy object_codec to zarr if the variable dtype is object or np.object. It works at runtime and the variable is successfully saved in the Dataset, but it fails at sabing to file #144
* add test + minor fixes
* black
* update release notes
Co-authored-by: Benoit Bovy <benbovy@gmail.com>
Reported by @bgailleton.
Xarray-simlab fails to store snapshots for output variables with
object
dtype even when aobject_codec
is given, e.g,It yields
ValueError: missing object_codec for object array
We should provide a dummy object codec when the given dtype is
object
here: https://github.com/benbovy/xarray-simlab/blob/45359e99cbf6341464b02cb937618c051a58a31c/xsimlab/stores.py#L74-L77The text was updated successfully, but these errors were encountered: