Skip to content

Support inline_array kwarg in open_zarr #8095

Description

@dcherian

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions