Closed
Description
What is your issue?
The zarr backend has a list of "valid" encodings that needs to be updated any time zarr adds something new (e.g. #6348)
xarray/xarray/backends/zarr.py
Lines 215 to 234 in 53172cb
Can we get rid of this? I don't know the backends code well, but won't all our encoding parameters have been removed by this stage? The raise_on_invalid
kwarg suggests so.
@tomwhite points out that zarr will raise a warning:
>>> zarr.create((1,), blah=1)
/Users/tom/miniconda/envs/sgkit-3.8/lib/python3.8/site-packages/zarr/creation.py:221: UserWarning: ignoring keyword argument 'blah'
warn('ignoring keyword argument %r' % k)
<zarr.core.Array (1,) float64>