Skip to content

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

Closed
@TomNicholas

Description

@TomNicholas

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPotential issues with the zarr-python library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions