You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to create an array using numcodecs.zarr3.PCodec as a serializer (PCodec is an array->bytes codec) but subsequent writes to the array fail with the error ValueError: codec not available: 'pcodec'. Is there another way to specify this codec? Or perhaps, this is a bug in numcodecs?
jhamman
changed the title
codec not available: 'pcodec' using numcodecs.zarr3 module
codec not available: 'pcodec' - using numcodecs.zarr3 module
Feb 6, 2025
@LDeakin - thanks so much. This is obvious now. I got myself tied into knots because of prior errors when using compressors=[PCodec()] which does not work for other reasons. In the end, I was just missing the dependency 🤦 .
Zarr version
3.0.1
Numcodecs version
0.15.0
Python Version
3.12
Operating System
Linux
Installation
Conda
Description
I am able to create an array using
numcodecs.zarr3.PCodec
as a serializer (PCodec is an array->bytes codec) but subsequent writes to the array fail with the errorValueError: codec not available: 'pcodec'
. Is there another way to specify this codec? Or perhaps, this is a bug in numcodecs?Steps to reproduce
raises
Additional output
No response
The text was updated successfully, but these errors were encountered: