Closed djhoese closed 4 years ago
I think we should probably call this a bug and just drop the call to utils.remove_incompatible_items()
-- see https://github.com/pydata/xarray/issues/1614.
concat()
is the only operation for which we check variables for equality.
So this would mean concat
would not retain any .attrs
, right?
So this would mean concat would not retain any .attrs, right?
concat would only retain .attrs
from the first variable, ignoring all subsequent variables.
Code Sample, a copy-pastable example if possible
Problem description
If two or more
DataArray
s are concatentated and they have list attributes that are not equal an exception is raised about arrays not being truth values.Expected Output
I guess the expected result would be that the list attribute is not included in the resulting DataArray's attributes.
Output of
xr.show_versions()