CDAT / cdutil

Climate Utilities for CDAT
3 stars 2 forks source link

cdms variables lost attribute (units. ect) after applying cdutil.YEAR() #43

Open chengzhuzhang opened 5 years ago

chengzhuzhang commented 5 years ago

Attributes such as long_name, units.ect should stay. Might be a bug in the cdutil code...

github-actions[bot] commented 4 years ago

Marking issue as stale, since there has been no activity in 30 days.

Unless the issue is updated or the 'stale' tag is removed, this issue will be closed in 7 days.

durack1 commented 4 years ago

@chengzhuzhang @jasonb5 I agree, when some calculations are performed (e.g. climatological averaging, with cdutil.year) all attributes, including units should be preserved. Obviously when another calculation, multiplication, addition etc occur this is not a reasonable assumption