Replies: 1 comment 7 replies
-
With help from a colleague, I figured what I was doing wrong. Because I have some very basic questions about how to use
Suppose I was trying to do the same thing but with a dataset of size
Now onto my question. I have decades worth of data (>20 years) and so my dataArray size is at least How do I continue to use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am trying to use map_blocks to sum up an array along a specified dimension. The data is from a global climate simulation. I created a function to add up an xarray dataarray along dimensions specified by the user. When I try this function within map_blocks on a toy example, things work fine. When I try the same function on the climate model output the map_blocks step goes through without any errors. The output, however, is quite different from that obtained using just the .sum() function outside map_blocks. I have taken some of the relevant output from my notebook and put them into an html file at this link below. Has anybody seen this problem before in their calculations?
https://www.dropbox.com/s/a2kmr8l0tbumrr6/debug_mapblocks.html?dl=0
Thanks.
PS: There was some issue with the link, have fixed it now.
Beta Was this translation helpful? Give feedback.
All reactions