home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 799393304

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/5028#issuecomment-799393304 https://api.github.com/repos/pydata/xarray/issues/5028 799393304 MDEyOklzc3VlQ29tbWVudDc5OTM5MzMwNA== 4426586 2021-03-15T12:50:33Z 2021-03-15T13:05:40Z NONE

The issue appears to be in zarr.storage.FSStore, and is also discussed in zarr#649.

Recently, a storage_options argument was added to open_zarr(). This argument might be used to provide the extra option storage_options={'normalize_keys': False} to Zarr.

Coming back to my last example: python zarr.open_consolidated('http://localhost:8080/', storage_options={'normalize_keys': False})['Group'].Variable[0,0,0] Works.

Work-around, instantiate the store first: python xr.open_zarr(store=zarr.storage.FSStore('http://localhost:8080/', normalize_keys=False), group='Group', consolidated=True).Variable[0,0,0].compute() # = 1

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  830507003
Powered by Datasette · Queries took 104.569ms · About: xarray-datasette