arviz.to_zarr#
- arviz.to_zarr(data, store=None, **kwargs)[source]#
Convert data to zarr, optionally saving to disk if
storeis provided.The zarr storage is using the same group names as the InferenceData.
- Parameters:
- store
zarr.storage,MutableMappingorstr, optional Zarr storage class or path to desired DirectoryStore. Default (None) a store is created in a temporary directory.
- **kwargs
dict, optional Passed to
convert_to_inference_data().
- store
- Returns:
zarr.hierarchy.groupA zarr hierarchy group containing the InferenceData.
- Raises:
TypeErrorIf no valid store is found.
References