home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 603921577

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-603921577 https://api.github.com/repos/pydata/xarray/issues/3815 603921577 MDEyOklzc3VlQ29tbWVudDYwMzkyMTU3Nw== 90008 2020-03-25T15:54:37Z 2020-03-25T15:54:37Z CONTRIBUTOR

Hmm, interesting!

I've avoided attrs since they often get "lost" in computation, and don't get dragged along as rigorously as coordinates.

I do have some real coordinates that are stored as strings.

Thanks for the quickfeedback.

Here is the reproducing code without using context managers (which auto clsoe things you know)

```python import xarray as xr import zarr x = xr.Dataset() x['hello'] = 'world' x with zarr.ZipStore('test_store.zip', mode='w') as store: x.to_zarr(store)

read_store = zarr.ZipStore('test_store.zip', mode='r')
x_read = xr.open_zarr(read_store).compute()

The error will happen before this line is executed

read_store.close()

```

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