-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
topic-metadataRelating to the handling of metadata (i.e. attrs and encoding)Relating to the handling of metadata (i.e. attrs and encoding)
Description
We need to come up with some clear rules for when and how xarray should propagate metadata (attrs/encoding). This has come up routinely (e.g. #25, #138, #442, #688, #828, #988, #1009, #1271, #1297, #1586) and we don't have a clear direction as to when to keep/drop metadata.
I'll take a first cut:
operation | attrs | encoding | status |
---|---|---|---|
reduce | drop | drop | |
arithmetic | drop | drop | implemented |
copy | keep | keep | |
concat | keep first | keep first | implemented |
slice | keep | drop | |
where | keep | keep |
cc @shoyer (following up on #1586 (comment))
max-sixty, juseg, weiji14 and guptadivyansh
Metadata
Metadata
Assignees
Labels
topic-metadataRelating to the handling of metadata (i.e. attrs and encoding)Relating to the handling of metadata (i.e. attrs and encoding)