We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f38292 commit 51ccc89Copy full SHA for 51ccc89
xarray/core/concat.py
@@ -797,6 +797,10 @@ def _dataarray_concat(
797
"The elements in the input list need to be either all 'Dataset's or all 'DataArray's"
798
)
799
800
+ # Allow passing old or new default even though we always use `data_vars="all"`
801
+ # when passing off to `_dataset_concat`. This allows people to explicitly
802
+ # set the data_vars value to the new default without worrying about whether
803
+ # they have datasets or dataarrays.
804
if not isinstance(data_vars, CombineKwargDefault) and data_vars not in [
805
"all",
806
"minimal",
0 commit comments