Open
Description
cc @TomNicholas
What happened?
There is no way to specify inline_array
in open_zarr
. Instead we have to use open_dataset
.
Minimal Complete Verifiable Example
import xarray as xr
xr.Dataset({"a": xr.DataArray([1.0])}).to_zarr("temp.zarr")
xr.open_zarr('temp.zarr', inline_array=True)
ValueError: argument inline_array cannot be passed both as a keyword argument and within the from_array_kwargs dictionary
xr.open_zarr('temp.zarr', from_array_kwargs=dict(inline_array=True))
ValueError: argument inline_array cannot be passed both as a keyword argument and within the from_array_kwargs dictionary