issues: 330473082
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 330473082 | MDU6SXNzdWUzMzA0NzMwODI= | 2219 | to_netcdf broken encoding: dtype='S1' + chunksizes | 6213168 | open | 0 | 2 | 2018-06-07T23:46:13Z | 2019-01-13T01:38:51Z | MEMBER | ``` xarray.Dataset({'x': ['foo', 'bar', 'baz']}).to_netcdf( 'foo.nc', engine='h5netcdf', encoding={'x': {'dtype': 'S1', 'zlib': True, 'chunksizes': (2, )}}) ValueError: "chunks" must have same rank as dataset shape
The workaround is to omit chunksizes or set it to True. |
{
"url": "https://api.github.com/repos/pydata/xarray/issues/2219/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
13221727 | issue |