-
Notifications
You must be signed in to change notification settings - Fork 38
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
Making the multi-model statistics preprocessor lazy #781
Comments
Also related to #674 |
good call! we need to liaise with |
So what we did in #673 is basically: |
no, I'm talking about a dedicated |
I know 🍺. But what I'm saying is that you could also see it as a use case that is already supported by existing functionality in Btw, I would prefer to name it multi-cube statistics (like I did in #673), because iris is all about cubes, and different cubes are not necessarily different models. |
I need to have a look at #673 👍 |
We are working on better tests for the multimodel statistics here: #856 |
#685 is merged! |
Moving this to v2.6 to follow the corresponding PR. |
The multi-model statistics preprocessor is currently sub-optimal. It operates on Numpy arrays because Iris cubes are quite strict in checking inconsistencies between the input cubes. This workaround impedes lazy evaluation and introduces some vulnerabilites (e.g. #267, #665) and a trail of ad-hoc fixes.
Inconsistent time coordinates were probably the biggest obstacle. However, starting from #677, and continuing in #685, we have already drastically reduced the complexity of time handling. Additionally, #744 proposes to move everything related to 'homogenizing' the time coordinate to the regrid_time preprocessor altogether. Moreover, Iris will soon support lazy regridding (SciTools/iris#3701), so in that case we could really benefit from lazy evaluation in multi-model statistics as well.
In #673, we have implemented a new function that computes 'multi-cube' statistics using Iris build-in functions. This already works for ensemble statistics, because in that case, the cubes are already very homogeneous.
It would be really nice if we could use this Iris 'engine' for the regular multi-model statistics preprocessor as well.
Would you be able to help out?
I might have some time, but it would be good to wait for #685, #744 and #673. In the meantime, this is a placeholder to keep the helicopter view of everything that's happening with the multi-model statistics preprocessor.
The text was updated successfully, but these errors were encountered: