zarr-developers / zarr-python

An implementation of chunked, compressed, N-dimensional arrays for Python.
https://zarr.readthedocs.io
MIT License
1.53k stars 286 forks source link

UserWarning: Codec 'numcodecs.blosc' not configured in config #2509

Open TomNicholas opened 2 days ago

TomNicholas commented 2 days ago

When using zarr-python v3 (inside virtualizarr + icechunk) I got these warnings, which I have no idea how to prevent.

/Users/tom/miniconda3/envs/coiled/lib/python3.12/site-packages/zarr/core/metadata/v3.py:71: UserWarning: Codec 'numcodecs.blosc' not configured in config. Selecting any implementation.
  out += (get_codec_class(name_parsed).from_dict(c),)
/Users/tom/miniconda3/envs/coiled/lib/python3.12/site-packages/numcodecs/zarr3.py:94: UserWarning: Numcodecs codecs are not in the Zarr version 3 specification and may not be supported by other zarr implementations.
  warn(

The first one especially seems like I should be able to prevent it being emitted by setting some config, but the message doesn't tell me how to do that or where to look for further information. (If someone tells me where to find out I can submit a PR to improve the message.)