How to run math operations on Zarr #1820
Answered
by
dcherian
meteoDaniel
asked this question in
Q&A
-
Dear all, I have created a native Zarr using Afterwards I want to run calculations on that zarr, in the same way as I would do with numpy but receive: zarr TypeError: unsupported operand type(s) for -: 'Array' and 'float' Edit: Any thoughts how to work around that issue? |
Beta Was this translation helpful? Give feedback.
Answered by
dcherian
Apr 26, 2024
Replies: 1 comment 2 replies
-
You have to read the data first so eitehr |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
meteoDaniel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to read the data first so eitehr
np.array(zarr_array) - 1
orzarr_array[:] - 1
(I think)