home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 525336574

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
525336574 MDU6SXNzdWU1MjUzMzY1NzQ= 3548 Support metadata_key in opening consolidated Zarr store 7591667 open 0     1 2019-11-19T23:55:22Z 2019-11-22T16:33:51Z   NONE      

Problem Description

I want to use xarray.open_zarr to open a Zarr store with consolidated metadata, using a different metadata key, but right now it doesn't seem possible. Zarr allows you to specify the location of that key using the metadata_key argument in zarr.open_consolidated (see: https://zarr.readthedocs.io/en/latest/api/convenience.html#zarr.convenience.open_consolidated), however there is no way to pass that argument to xarray right now. After browsing the source code I actually found a comment about this issue: https://github.com/pydata/xarray/blob/652dd3ca77dd19bbd1ab21fe556340c1904ec382/xarray/backends/zarr.py#L257

If it's just a matter of adding that key to the kwargs of xarray.open_zarr then it shouldn't be a problem for me to submit a PR for this.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3548/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.559ms · About: xarray-datasette