check_zarr_writer#

pymc_marketing.data.idata.io.check_zarr_writer()[source]#

Write a two-value tree with a string coordinate to a temporary Zarr store.

Version floors cannot capture every xarray, zarr and pandas combination, so the autolog preflight writes a tiny store instead of trusting them.

Raises:
ImportError

If zarr is missing or xarray is older than the floor of the zarr extra.

RuntimeError

If the installed xarray, zarr and pandas cannot write a Zarr store together.