-
Hey,
Basically, I want to scale each "image" in the time dimension with a function like In numpy, I could just do something like:
but since the data is stored in dask arrays, I am unable to write back the modified data. How would one go about doing this in xarray/dask? Shaunak |
Beta Was this translation helpful? Give feedback.
Answered by
dcherian
May 28, 2021
Replies: 1 comment 1 reply
-
You can vectorize that using the
With an xarray thing, see |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Shaunakde
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can vectorize that using the
axis
argument ofnp.percentile
.With an xarray thing, see
.quantile
and.clip