home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 637635620

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/2300#issuecomment-637635620 https://api.github.com/repos/pydata/xarray/issues/2300 637635620 MDEyOklzc3VlQ29tbWVudDYzNzYzNTYyMA== 1053153 2020-06-02T15:42:43Z 2020-06-02T15:42:43Z CONTRIBUTOR

If there is a non-dimension coordinate, the error is also tickled.

``` import xarray as xr import numpy as np ds=xr.Dataset({'foo': (['bar'], np.zeros((100,)))})

Problem also affects non-dimension coords

ds.coords['baz'] = ('bar', ['mah'] * 100)

ds.to_zarr('test.zarr', mode='w') ds2 = xr.open_zarr('test.zarr')

ds3 = ds2.chunk({'bar': 2})

ds3.foo.encoding = {} ds3.coords['baz'].encoding = {} # Need this, too.

ds3.to_zarr('test3.zarr', mode='w') ```

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