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/2219#issuecomment-397299709,https://api.github.com/repos/pydata/xarray/issues/2219,397299709,MDEyOklzc3VlQ29tbWVudDM5NzI5OTcwOQ==,6213168,2018-06-14T13:40:36Z,2018-06-14T13:41:38Z,MEMBER,"IMHO the trick that alters the shape of the array is strictly an implementation detail which should not be exposed to the end user. If the implementation of xarray alters the shape of the variable, it should as well alter anything that relies on it. So I think that chunksizes=(2, 3) should not be accepted as a valid input.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,330473082 https://github.com/pydata/xarray/issues/2219#issuecomment-395617267,https://api.github.com/repos/pydata/xarray/issues/2219,395617267,MDEyOklzc3VlQ29tbWVudDM5NTYxNzI2Nw==,1217238,2018-06-08T01:31:07Z,2018-06-08T01:31:07Z,MEMBER,"It looks like this version works: ``` xarray.Dataset({'x': ['foo', 'bar', 'baz']}).to_netcdf( 'foo.nc', engine='h5netcdf', encoding={'x': {'dtype': 'S1', 'zlib': True, 'chunksizes': (2, 3)}}) ``` I suppose we could update chunksizes to accept both versions? Or just clearly document this behavior?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,330473082