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-789972117,https://api.github.com/repos/pydata/xarray/issues/2300,789972117,MDEyOklzc3VlQ29tbWVudDc4OTk3MjExNw==,14314623,2021-03-03T18:50:18Z,2021-03-03T18:50:18Z,CONTRIBUTOR,"> > the question is whether the chunk() method should delete existing chunks attributes from encoding. > > IMO this is the user-friendly thing to do. Just ran into this issue myself and just wanted to add a +1 to stripping the encoding when `.chunk()` is used. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,342531772 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 https://github.com/pydata/xarray/issues/2300#issuecomment-519688842,https://api.github.com/repos/pydata/xarray/issues/2300,519688842,MDEyOklzc3VlQ29tbWVudDUxOTY4ODg0Mg==,1386642,2019-08-08T21:10:54Z,2019-08-08T21:10:54Z,CONTRIBUTOR,I am getting the same error too.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,342531772