-
-
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
Confusing error message when attribute not equal during concat #2060
Labels
Comments
I think we should probably call this a bug and just drop the call to
|
So this would mean |
concat would only retain |
dcherian
added a commit
to dcherian/xarray
that referenced
this issue
Dec 17, 2019
dcherian
added a commit
to dcherian/xarray
that referenced
this issue
Dec 17, 2019
4 tasks
dcherian
added a commit
to dcherian/xarray
that referenced
this issue
Dec 17, 2019
TomNicholas
pushed a commit
that referenced
this issue
Dec 24, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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()
INSTALLED VERSIONS
commit: None
python: 3.6.4.final.0
python-bits: 64
OS: Darwin
OS-release: 17.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
xarray: 0.10.1
pandas: 0.21.0
numpy: 1.13.3
scipy: 1.0.0
netCDF4: 1.3.1
h5netcdf: 0.5.0
h5py: 2.7.1
Nio: None
zarr: None
bottleneck: 1.2.1
cyordereddict: None
dask: 0.17.1
distributed: 1.21.2
matplotlib: 2.2.0
cartopy: 0.16.0
seaborn: None
setuptools: 39.0.1
pip: 9.0.1
conda: None
pytest: 3.4.0
IPython: 6.1.0
sphinx: 1.6.6
The text was updated successfully, but these errors were encountered: