issues: 1177665302
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1177665302 | I_kwDOAMm_X85GMb8W | 6401 | Unnecessary warning when specifying `chunks` opening dataset with empty dimension | 4666753 | closed | 0 | 0 | 2022-03-23T06:38:25Z | 2022-04-09T20:27:40Z | 2022-04-09T20:27:40Z | CONTRIBUTOR | What happened?I receive unnecessary warnings when opening Zarr datasets with empty dimensions/arrays using the If an array has zero size (due to an empty dimension), it is saved as a single chunk regardless of Dask chunking on other dimensions (#5742). If the What did you expect to happen?I expect no warning to be raised when there is no data:
Minimal Complete Verifiable Example```Python import xarray as xr import numpy as np each
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |