climate-commits mailing list archives

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

URL: http://svn.apache.org/r1570976
Log:
CLIMATE-345 - Make spatial_regrid 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=1570976&r1=1570975&r2=1570976&view=diff
==============================================================================
--- incubator/climate/trunk/ocw/dataset_processor.py (original)
+++ incubator/climate/trunk/ocw/dataset_processor.py Sun Feb 23 04:45:38 2014
@@ -111,7 +111,9 @@ def spatial_regrid(target_dataset, new_l
     regridded_dataset = ds.Dataset(new_latitudes, 
                                    new_longitudes, 
                                    target_dataset.times, 
-                                   new_values)
+                                   new_values,
+                                   target_dataset.variable,
+                                   target_dataset.name)
     return regridded_dataset
 
 def ensemble(datasets):



Mime
View raw message