-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
concat_dim for auto_combine for a single object is now respected #2048
Conversation
WeatherGod
commented
Apr 10, 2018
- Closes open_mfdataset() on a single file drops the concat_dim #1988
- Tests added (for all bug fixes or enhancements)
- Tests passed (for all non-documentation changes)
xarray/tests/test_backends.py
Outdated
@@ -2039,6 +2039,22 @@ def test_open_dataset(self): | |||
self.assertIsInstance(actual.foo.variable.data, np.ndarray) | |||
assert_identical(original, actual) | |||
|
|||
|
|||
def test_open_single_dataset(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E303 too many blank lines (2)
xarray/tests/test_combine.py
Outdated
'y': (('baz', 'z'), [[1, 2]])}, | ||
{'baz': [100]}) | ||
assert_identical(expected, actual) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W391 blank line at end of file
52c8158
to
6057525
Compare
Travis failures seem to be unrelated? |
Yes, see #2050 |
Looks good to me. Could you kindly add a release note in what's new? |
What's new entry added. |
OK, thanks! |