-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
API designtopic-CF conventionstopic-metadataRelating to the handling of metadata (i.e. attrs and encoding)Relating to the handling of metadata (i.e. attrs and encoding)
Description
When reading in a variable from netCDF, the standard attributes like long_name
, standard_name
, and units
are being propagated, but apparently lost when calling .load()
.mean()
on the DataArray
.
Couldn't these CF-Highly Recommended Variable Attributes be kept during this operation?
(What to do with them afterwards, e.g. upon merge, is a different question, unresolved also in the pandas community.)
EDIT: the problem actually occurs when calling .mean()
(not .load()
, as originally posted).
mschrimpf
Metadata
Metadata
Assignees
Labels
API designtopic-CF conventionstopic-metadataRelating to the handling of metadata (i.e. attrs and encoding)Relating to the handling of metadata (i.e. attrs and encoding)