poor performance of subsetting #1245
Replies: 3 comments 17 replies
-
Hi @uturuncoglu Which version of UXarray are you on? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help. I have two scripts under the same folder: With the new version (
but I am not seeing any difference between initial and subsequent one. run1
run2
|
Beta Was this translation helpful? Give feedback.
-
@philipc2 BTW, I tried to run in same notebook and all the time it prints |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to subset a global dataset belongs to unstructured ADCIRC ocean model output (under
/glade/work/turuncu/COASTAL/s104
). I have two version of code to subset the dataset to a specified region.The UXarray way is much slower than the first one and I wonder why? If I measure time with
%%time
under JupyterHub, the first one is takingCPU times: user 27.1 ms, sys: 32 ms, total: 59.1 ms / Wall time: 92.5 ms
and the UXarray way is takingCPU times: user 8min 32s, sys: 8.84 s, total: 8min 41s / Wall time: 3min 5s
. So, it seems it is the difference is huge like 27 ms vs. 8min 32s. Am I missing something in here? Any suggestion will help at this point.Beta Was this translation helpful? Give feedback.
All reactions