-
-
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.
combine_by_coordinates to handle unnamed data arrays. (#4696)
* Added test for combine_by_coords changes. * Modified test case to expect a dataset instead of a DataArray. Added converter to combine_by_coords to check for all DataArray case and convert to datasets. * Added tests to check combine_by_coords for exception with mixed DataArrays and dataset input and with empty list. * Formatting changes after running black * Added underscore to helper function to label as private. * Black formatting changes for whats-new doc file. * Removed imports in docstring that were automatically added by code styling tools to match the other docstrings. * Removed duplicate new item line in whats-new. * combine methods now accept unnamed DataArrays as input. * combine nested test checks nested lists of unnamed DataArrays. * Made combine_by_coords more readable. * Cosmetic changes to code style. * Removed extra test from merge with previous PR. * Updated test to use pytest.raises instead of raises_regex. * Added breaking-change entry to whats new page. * Added deprecation warning to combine_coords * Removed index monotonicity checking temporarily. * Removed duplicate entries from whats new page. * Removed TODO message * Added test for combine_nested. * Added check to combine methods to clarify parameter requirements. * Reassigned description of changes to bug fixes category. * Minor style changes. * Added blank line for style purposes.
- Loading branch information
Showing
5 changed files
with
230 additions
and
43 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
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