Conversation
We now rely on ensemble data having a `realization` coordinate. This allows for a significant simplification of the loading process. Fixes #1265
I think this was mostly working coincidentally, as the operations were also being done in-place. I do, however, expect that the `iris.util.squeeze(cube)` in _lfric_time_coord_fix_callback was not applied, which explains some issues we have been having.
This avoids making concatenating cubes difficult before we have done it.
d020b2e to
7cb7d26
Compare
|
@mo-tomosevans could you comment on this? I know you've been testing ensemble data |
|
Hi I think this is PR is something that could address problem I've encountered in #1845. Someone else reported something similar in #1808. You're right though @SGallagherMet - in the ensemble trial data I've been testing, the ensemble members are given as realization coordinates in the cubes for all but the control member (i.e. |
Am I right in thinking the control would be member 0? If so then it would have a realization coordinate added by the Is there any operational/trial ensemble data on disk that I could give this a test with? |
JMEdwardsXtr
left a comment
There was a problem hiding this comment.
I have run CSET with data from both the UM and LFRic (two deterministic models in the same suite) and this modified code runs. I do not have ensemble data on which to test it and so cannot comment on how it works with ensembles themselves.
|
Sorry @jfrost-mo I missed your latest comment.
Yes that is correct and yes
is where I'm finding difficulty. I haven't found it able to merge the realizations when multiple ensemble members are pointed to in the input paths (e.g. /enuk_um*/enukaa_pd*). I'm also getting a new problem with the |
They are used unconditionally, so there was no benefit to loading them within the function.
|
I've fixed the issue with |
We now rely on ensemble data having a
realizationcoordinate.This allows for a significant simplification of the loading process.
It also provides a 2x speedup when loading ensemble data.
Fixes #1808
Fixes #1845
Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.