NCAR / ADF

A unified collection of python scripts used to generate standard plots from CAM outputs.
Creative Commons Attribution 4.0 International
34 stars 29 forks source link

preserve attributes in seasonal mean when working with climo files #272

Closed brianpm closed 8 months ago

brianpm commented 8 months ago

This is a bug fix. As reported by @justin-richling , the seasonal_mean function was destroying metadata when working with climo files. This caused a problem in plots that wanted to use units and such. This is a simple fix that preserves the metadata in that case.