-
Notifications
You must be signed in to change notification settings - Fork 41
Allow fix_file
to return dataset objects
#2579
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
71 commits
Select commit
Hold shift + click to select a range
68845bb
Avoid copying input data in CMIP6 CESM2 fixes
bouweandela 2541ab1
run a GA test
valeriupredoi c038510
Use ruff formatting
bouweandela 3e95d3e
Merge branch 'main' of github.com:ESMValGroup/ESMValCore into in-memoβ¦
bouweandela 2e388ed
Disable github action on branch
bouweandela 55bde64
Merge branch 'main' of github.com:ESMValGroup/ESMValCore into in-memoβ¦
bouweandela e890f56
Fewer changes
bouweandela 142ba29
Fewer changes
bouweandela 625aa75
Move different attribute removal to concatenate
bouweandela 588130a
Add test
bouweandela aadffe8
Various improvements
bouweandela 07a5e37
Add docstring
bouweandela b95ee63
Merge branch 'main' into in-memory-fix-file
bouweandela 379fd45
Merge remote-tracking branch 'origin/in-memory-fix-file' into better_β¦
schlunma e593611
Do not change CESM2 fixes
schlunma 645d555
More flexible fix_file and ignore warnings
schlunma 891e82b
Add function to convert between xarray/ncdata and iris
schlunma 77c9ef1
Add first tests
schlunma 94ccc90
Add more tests
schlunma a24de25
Add test to check that no warning is raised
schlunma 3d1bd93
Use ignore_warnings in fix_file
schlunma e127a9d
Add doc
schlunma 31d3762
Better doc
schlunma 9dbbb40
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma 7696480
100% coverage in fix.py
schlunma 11c1b51
100% coverage
schlunma 7e097bb
Avoid circular import
schlunma b8eb5b8
Doc
schlunma 543efe1
Better comment
schlunma 6808164
100% coverage
schlunma ee043a1
Add missing parameter to docstring
schlunma b9f70f7
Better docstrings
schlunma 91bbe8d
Improve doc rendering
schlunma 903d694
Double backticks for monospace font
schlunma b47ba81
Better docstring
schlunma 863b0f1
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma ae277ca
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma ef317ab
Merge branch 'main' into better_fix_file
valeriupredoi b80c3b6
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma 73c17ae
Please Codacy
schlunma db14d0f
Added missing type hint
schlunma d795e9d
Added one more missing type hint
schlunma cb9b4bb
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma 0faf234
Update esmvalcore/cmor/_fixes/fix.py
schlunma 9e9bd57
Allow load to read xarray and ncdata objects
schlunma dc3cfe8
Set up lock sharing in file that actually needs it
schlunma 239709b
Better docstring
schlunma 5d96c76
Raise warning if cubes do not contain source_file attribute after load()
schlunma 4d3c675
Add test for invalid type in load()
schlunma fe8b465
fix_file cannot return Cube objects
schlunma add0f8c
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma 5604bcc
Add type hints to please Codacy
schlunma 8d8e594
Ignore warnings when converting to Cube objects
schlunma 51bd92a
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma 67fef5c
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma 5ace001
Merge commit 'd3eb1d159d443a3ff96cbda0a550d5d983094a15' into better_fβ¦
schlunma ca03376
Merge commit '22a1a8561d419ef3556891dad7dde28cdcd82a59' into better_fβ¦
schlunma c533bd9
Safe fixes
schlunma 006affe
Unsafe fixes
schlunma dd9e3e9
Manual fixes
schlunma 2350c42
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma 5e40228
More manual fixes
schlunma ca08c5b
Remove code for old Iris version
schlunma ba94450
Use fixture
schlunma 6244a4b
Use mocker fixture
schlunma 24bc150
Use tests.assert_array_equal
schlunma 29b5581
Add fixture realistic_4d_cube
schlunma fb982bb
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma 301930e
Replace logger.warnings with warnings.warn
schlunma f3e48c9
Fix tests
schlunma b3f199a
Merge remote-tracking branch 'origin/main' into better_fix_file
schlunma 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
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
Oops, something went wrong.
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.