-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Area weighted regridder caching #2370
Comments
Ping @abooton 👍 |
Hi @tv3141 :) Running your example on my machine using 738093f returns:
Running your example using the latest commit on the
Creating the regridder is now slower (the weights are now cached when the regridder is created). However, regridding is much quicker, as are the overall timings :) |
? Closed by #3617 ? |
By all means ! The question remains : whether we are sure that this fixes the original issue. |
I believe this comment on #2472 answers your question :) |
Was released in iris v2.4 (not v3) |
Area weighted averaging is quite expensive. According to the Iris documentation it should be possible to 'cache' the regridder :
http://scitools.org.uk/iris/docs/latest/userguide/interpolation_and_regridding.html?highlight=regridding#caching-a-regridder
However, I could not observe any benefits in doing that. The cost of setting up the regridder is negligible.
An example showing this by regridding a single field is below. The only thing that seems to be cached is an uninitialised chunk of memory.
Output:
The text was updated successfully, but these errors were encountered: