arviz.InferenceData.to_zarr#

InferenceData.to_zarr(store=None)[source]#

Convert InferenceData to a zarr.hierarchy.Group.

The zarr storage is using the same group names as the InferenceData.

Parameters:
store: zarr.storage i.e MutableMapping or str, optional

Zarr storage class or path to desired DirectoryStore.

Returns:
zarr.hierarchy.group

A zarr hierarchy group containing the InferenceData.

Raises:
TypeError

If no valid store is found.

References

https://zarr.readthedocs.io/