-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor concat to use merge for non-concatenated variables (#3239)
* Add compat = 'override' and data_vars/coords='sensible' * concat tests. * Update docstring. * Begin merge, combine. * Merge non concatenated variables. * Fix tests. * Fix tests 2 * Fix test 3 * Cleanup: reduce number of times we loop over datasets. * unique_variable does minimum number of loads: fixes dask test * docstrings for compat='override' * concat compat docstring. * remove the sensible option. * reduce silly changes. * fix groupby order test. * cleanup: var names + remove one loop through datasets. * Add whats-new entry. * Add note in io.rst * fix warning. * Update netcdf multi-file dataset section in io.rst. * Update mfdataset in dask.rst. * simplify parse_datasets. * Avoid using merge_variables. unique_variable instead. * small stuff. * Update docs. * minor fix. * minor fix. * lint. * Better error message. * rename to shorter variable names. * Cleanup: fillna preserves attrs now. * Look for concat dim in data_vars also. * Update xarray/core/merge.py Co-Authored-By: Stephan Hoyer <shoyer@google.com> * avoid unnecessary computes. * minor cleanups.
- Loading branch information
Showing
12 changed files
with
402 additions
and
222 deletions.
There are no files selected for viewing
This file contains 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 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 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 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.