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/6373#issuecomment-1072259361,https://api.github.com/repos/pydata/xarray/issues/6373,1072259361,IC_kwDOAMm_X84_6WEh,85085,2022-03-18T10:06:01Z,2022-03-18T10:06:01Z,CONTRIBUTOR,Thanks for confirming @jhamman,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1171932478 https://github.com/pydata/xarray/issues/6373#issuecomment-1072017386,https://api.github.com/repos/pydata/xarray/issues/6373,1072017386,IC_kwDOAMm_X84_5a_q,2448579,2022-03-18T04:19:48Z,2022-03-18T04:19:48Z,MEMBER,Thanks @jhamman ,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1171932478 https://github.com/pydata/xarray/issues/6373#issuecomment-1071053923,https://api.github.com/repos/pydata/xarray/issues/6373,1071053923,IC_kwDOAMm_X84_1vxj,2443309,2022-03-17T16:30:25Z,2022-03-17T16:30:25Z,MEMBER,"It would be nice to avoid this process but I think we need to keep it. Without `extract_zarr_variable_encoding` and checks against a valid set of options, we have no way to filter out encoding keys that do not apply to the backend. By way of an example: ```python In [1]: import xarray as xr In [2]: ds = xr.tutorial.open_dataset('rasm').chunk('100mb') In [3]: ds.Tair.encoding Out[3]: {'source': '/Users/jhamman/Library/Caches/xarray_tutorial_data/eee06791cc19e59f074155a82a7ffe90-rasm.nc', 'original_shape': (36, 205, 275), 'dtype': dtype('float64'), '_FillValue': 9.969209968386869e+36, 'coordinates': 'yc xc'} ``` Passing most of these to `zarr.create` would result in a `UserWarning`. We could inpspect `zarr.create` to pull the list of valid arguments but I think it is probably cleaner to just list the expected arguments as we do. ","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1171932478