-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fill missing data_vars during concat by reindexing #7400
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
39 commits
Select commit
Hold shift + click to select a range
829a744
ENH: fill missing variables during concat by reindexing
kmuehlbauer 871d2db
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 14bb779
FIX: use `Any` for type of `fill_value` as this seems consistent with…
kmuehlbauer 6b49713
ENH: add tests
kmuehlbauer 43862a1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5dd3e78
typing
kmuehlbauer aed0f6e
typing
kmuehlbauer fa1aba5
typing
kmuehlbauer 308c009
use None instead of False
kmuehlbauer 58813e3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a248d5b
concatenate variable in any case if variable has concat_dim
kmuehlbauer 1a6ad5b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b9d0d02
add tests from @scottcha #3545
scottcha 2db43b9
typing
kmuehlbauer e54d423
fix typing
kmuehlbauer 7fe0ce2
fix tests with, finalize typing
kmuehlbauer ffd13f6
add whats-new.rst entry
kmuehlbauer 146b740
Update xarray/tests/test_concat.py
kmuehlbauer 3196e83
Update xarray/tests/test_concat.py
kmuehlbauer e53cfcc
add TODO, fix numpy.random.default_rng
kmuehlbauer c41419f
change np.random to use Generator
kmuehlbauer b2b0b18
move code for variable order into dedicated function, merge with _par…
kmuehlbauer bb0a8ae
fix comment
kmuehlbauer e266fe5
Use order from first dataset, append missing variables to the end
kmuehlbauer 6120796
ensure fill_value is dict
kmuehlbauer 5733d93
ensure fill_value in align
kmuehlbauer 9891439
simplify combined_var, fix test
kmuehlbauer 94b9ba9
revert fill_value for alignment.py
kmuehlbauer 70be70f
derive variable order in order of appearance as suggested per review
kmuehlbauer c3eda8f
remove unneeded enumerate
kmuehlbauer 70f38ab
Use alignment.reindex_variables instead.
dcherian 4825c94
small cleanup
dcherian a71f633
Update doc/whats-new.rst
kmuehlbauer 92e6108
adapt tests as per review request, fix ensure_common_dims
kmuehlbauer 8610397
adapt tests as per review request
kmuehlbauer 6cb163e
fix whats-new.rst
kmuehlbauer 070c0fb
add whats-new.rst entry
kmuehlbauer de60890
Add additional test with scalar data_var
dcherian b14c8f6
remove erroneous content from whats-new.rst
kmuehlbauer 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
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.