Skip to content

Rules for propagating attrs and encoding #1614

Description

@jhamman

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:

operationattrsencodingstatus
reducedropdrop
arithmeticdropdropimplemented
copykeepkeep
concatkeep firstkeep firstimplemented
slicekeepdrop
wherekeepkeep

cc @shoyer (following up on #1586 (comment))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-metadataRelating to the handling of metadata (i.e. attrs and encoding)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions