NCAR / ADF

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

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

Closed brianpm closed 11 months ago

brianpm commented 11 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.