issue_comments: 603650213
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/3815#issuecomment-603650213 | https://api.github.com/repos/pydata/xarray/issues/3815 | 603650213 | MDEyOklzc3VlQ29tbWVudDYwMzY1MDIxMw== | 5635139 | 2020-03-25T05:36:00Z | 2020-03-25T05:36:00Z | MEMBER | I had a quick debug but didn't completely resolve it. It works fine if you add it as an attribute; do you mean to be adding a single string as a data variable? ```python In [8]: import xarray as xr ...: import zarr ...: x = xr.Dataset() ...: x.attrs['hello'] = 'world' # changed ...: x ...: with zarr.ZipStore('test_store.zip', mode='w') as store: ...: x.to_zarr(store) ...: with zarr.ZipStore('test_store.zip', mode='r') as store: ...: x_read = xr.open_zarr(store).compute() ...: ``` Debugging is non-trivial because the ZipFile is closed by the time I could run |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
573577844 |