Currently, variable attributes are checked for equality before allowing for a merge via a call to xarray_equal
. It should be possible to merge datasets even if some of the variable metadata disagrees (conflicting attributes should be dropped). This is already the behavior for global attributes.
The right design of this feature should probably include some optional argument to Dataset.merge
indicating how strict we want the merge to be. I can see at least three versions that could be useful:
We can argue about which of these should be the default option. My inclination is to be as flexible as possible by using 1 or 2 in most cases.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4