climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1570974 - /incubator/climate/trunk/ocw/dataset_processor.py
Date Sun, 23 Feb 2014 04:45:32 GMT
Author: joyce
Date: Sun Feb 23 04:45:32 2014
New Revision: 1570974

URL: http://svn.apache.org/r1570974
Log:
CLIMATE-344 - Make temporal_rebin propagate variable and name attributes

Modified:
    incubator/climate/trunk/ocw/dataset_processor.py

Modified: incubator/climate/trunk/ocw/dataset_processor.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw/dataset_processor.py?rev=1570974&r1=1570973&r2=1570974&view=diff
==============================================================================
--- incubator/climate/trunk/ocw/dataset_processor.py (original)
+++ incubator/climate/trunk/ocw/dataset_processor.py Sun Feb 23 04:45:32 2014
@@ -58,7 +58,9 @@ def temporal_rebin(target_dataset, tempo
     new_dataset = ds.Dataset(target_dataset.lats, 
                              target_dataset.lons, 
                              binned_dates, 
-                             binned_values)
+                             binned_values,
+                             target_dataset.variable,
+                             target_dataset.name)
     
     return new_dataset
 



Mime
View raw message