-
With import numpy as np
import zarr
data = np.random.rand(1_000_000)
zarr.save("out.zarr", data) one can save a numpy array with the default compressor. How do I turn it off? This zarr.save("out.zarr", data, compressor=None) only gives
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @nschloe, it looks like Personally, I don't like this function and I recommend instead using zarr.save_array("out.zarr", data, compressor=None) |
Beta Was this translation helpful? Give feedback.
-
We should probably remove or refactor any routine like |
Beta Was this translation helpful? Give feedback.
Hi @nschloe, it looks like
zarr.save
doesn't forward array creation kwargs likecompressor
to the right function -- instead,zarr.save
assumes that **kwargs is a dict of arrays?Personally, I don't like this function and I recommend instead using
zarr.save_array