Stream: dask
Topic: Mean of each chunk
Haiying Xu (Apr 28 2021 at 02:38):
@Anderson Banihirwe @Deepak Cherian Do you know if there is any way that I can get the mean value of each chunk of Xarray dataarray?
Deepak Cherian (Apr 28 2021 at 13:31):
Yeah you'll have to drop down to the dask level though. What are you trying to do? Can you post an example?
Deepak Cherian (Apr 28 2021 at 14:05):
Yeah you'll have to drop down to the dask level though. What are you trying to do? Can you post an example?
Actually xarray.map_blocks
will work but you'll have to construct the template
properly.
Last updated: Jan 30 2022 at 12:01 UTC