Stream: dask

Topic: Mean of each chunk


view this post on Zulip 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?

view this post on Zulip 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?

view this post on Zulip 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