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).
When reading in a variable from netCDF, the standard attributes like
long_name,standard_name, andunitsare being propagated, but apparently lost when calling.load().mean()on theDataArray.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).