-
Notifications
You must be signed in to change notification settings - Fork 44
Lazy implementation of multi_model_statistics and ensemble_statistics preprocessors
#968
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
Merged
Merged
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
faaaa38
First attempt at replacing multimodel stats with a native iris altern…
Peter9192 4e5a675
temporary test draft to derive new tests from
Peter9192 d5b75b5
Support percentiles
Peter9192 98580d1
Docstrings and check for no overlap
Peter9192 a0336cc
Resolve span gets its own function
Peter9192 a5322a2
fix merge conflict
8bbd878
first set unit tests for multimodel stats and span
8e24ed9
Also accept std as valid statistics
Peter9192 5e63398
Another attempt at supporting std
Peter9192 f93d42f
deal better with kwargs
Peter9192 2bff8ef
corrected expected test results
bvreede b0f93e6
masterplan for overhaul of multimodel tests
Peter9192 973979d
git stash dump - wip
Peter9192 40d98ab
Merge branch 'master' into mmstats_lazy
stefsmeets 930bec9
Fix bugs to ensure that tests can run
stefsmeets e645812
Clean up var mapping to `iris.analysis`
stefsmeets d3b31c9
Update tests
stefsmeets a108445
Fix test cube metadata so that iris will merge them
stefsmeets 24f2270
Update multimodel tests
stefsmeets ff6ade8
Implement edge cases for multimodel tests
stefsmeets 11232c5
Refactor multimodel tests
stefsmeets e0577b2
Add test cases for _resolve_span
stefsmeets c3a9a0a
Generate cube using existing function
stefsmeets 2aa566a
Fix Codacy issue
stefsmeets fb33c19
Remove redundant test file
stefsmeets f45438c
Merge branch 'master' into mmstats_lazy
stefsmeets 8bd9858
Mark tests failing because of inconsistent plev data with xfail
stefsmeets 649b8f3
Make cache key more readable
stefsmeets 554edea
Compare coord / metadata attributes directly
stefsmeets ade5f35
Use `allclose` instead of `almost_equal` for array comparison
stefsmeets 04dbaf6
Group iris.analysis functions
stefsmeets 59f2564
Add tests to make sure returned cubes are still lazy
stefsmeets 24bcea0
Fix bug with check if cubes are already aligned
stefsmeets 873ddd0
Merge branch 'master' into mmstats_lazy
stefsmeets 1a6695b
Remove aux coord after cubes are merged
stefsmeets 9b3708f
Implement lazy alignment for span='overlap'
stefsmeets b07c704
Fix validation data
stefsmeets a43ecb9
Use extrapolate extend time points for span='full'
stefsmeets 2ffcb9a
Implement lazy cube extension scheme for span='full'
stefsmeets 999d514
Fix pep257: D417
stefsmeets bdfc125
Update documentation
stefsmeets cea76e4
Metadata tweaks to make it work with sample data / test recipe
stefsmeets 5b7f833
Merge branch 'master' into mmstats_lazy
stefsmeets c19335f
Update docstring and add note
stefsmeets 34994cc
Apply suggestions from code review
stefsmeets 9921b33
Update documentation
stefsmeets e560bcd
Remove unused test code
stefsmeets 0bd079b
Copy cubes to avoid updating them inplace
stefsmeets 709d849
Add option to rechunk data before computing statistics
Peter9192 f9f5600
Expand options for statistics
stefsmeets cf6bc9c
Convert input to lazy arrays for memory efficiency
stefsmeets 9f53512
Outline of workaround for non-lazy iris funcs
Peter9192 1f1bfcd
undo accidental changes to tests
Peter9192 62987b6
Fix work-around for iris non-lazy aggregators
stefsmeets 7687457
Use `slice_over` to generate time slices
stefsmeets 3ff0879
Remove dask config
stefsmeets bb8b3cd
Remove temporary coordinate
stefsmeets ee7af3d
Fix func/dim name and docstring
stefsmeets 3cad48f
Raise error when a single model is passed to multicube statistics
stefsmeets 2b5c943
Merge remote-tracking branch 'origin/master' into mmstats_lazy
Peter9192 9c8eb67
Realize data beforehand if aggregator is not lazy
Peter9192 d76298e
Stronger separate lazy from non-lazy path
Peter9192 c4f0ab2
Merge branch 'master' into mmstats_lazy
stefsmeets db3aa93
Make concat dim a global and fix tests
stefsmeets 99159ac
Simplify one-line if statement as per codacy suggestion
Peter9192 3ac43b5
Merge branch origin/main into this branch and resolve conflicts
Peter9192 73840dc
Revert "Merge branch origin/main into this branch and resolve conflicts"
Peter9192 f47aceb
Merge remote-tracking branch 'origin/main' into mmstats_lazy - second…
Peter9192 9d15cea
Various improvements, move rechunking to before regridding
bouweandela e839dbe
Fix typo
bouweandela efbcb34
Add unit tests for _rechunk
bouweandela 78d73b3
Log whether or not data is lazy
bouweandela 6f6e61f
Fix sample data tests
bouweandela 721e255
Merge branch 'main' of github.com:esmvalgroup/esmvalcore into mmstats…
bouweandela aab318e
Merge branch 'main' of github.com:esmvalgroup/esmvalcore into mmstats…
bouweandela 0658219
Fix some types
bouweandela 17dd7fd
Merge branch 'main' of github.com:esmvalgroup/esmvalcore into mmstats…
bouweandela 3247d9c
Merge branch 'main' of github.com:ESMValGroup/ESMValCore into mmstats…
bouweandela 5b4fecd
Merge branch 'main' of github.com:esmvalgroup/esmvalcore into mmstats…
bouweandela 9039242
Undo needless changes and fix test
bouweandela a364c84
Merge branch 'main' into mmstats_lazy
bouweandela File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.