roocs / clisops

Climate Simulation Operations
https://clisops.readthedocs.io/en/latest/
Other
21 stars 9 forks source link

subset_average does not keep attributes by default #199

Closed huard closed 2 years ago

huard commented 2 years ago

Description

subset_average does carry over the attributes from the orginal array in the spatial average. I think it would only be a matter of setting keep_attrs=True in the call

ds_out = savger(ds_copy)

https://github.com/roocs/clisops/blob/74789cd28ff88d5ee348c0001e747ec7819b5658/clisops/core/average.py#L87