As explained in zarr-developers/zarr-python#3332 (comment), for a codec that takes no configuration at all, {'name': 'foo', 'configuration': {}} or {'name': 'foo'} or 'foo' (plain string) are all synonyms, as per the 3.1 spec.
The codepath we use for writing Kerchunk references only works for the {'name': 'foo', 'configuration': {}} version:
|
return {"id": name, **num_codec["configuration"]} |
We should add support for the'name': 'foo', and 'foo' versions.
cc @d-v-b