climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1514385 - /incubator/climate/branches/RefactorInput/ocw/dataset_processor.py
Date Thu, 15 Aug 2013 17:19:19 GMT
Author: joyce
Date: Thu Aug 15 17:19:19 2013
New Revision: 1514385

URL: http://svn.apache.org/r1514385
Log:
CLIMATE-237 - Fixing bugs in subset helpers

Modified:
    incubator/climate/branches/RefactorInput/ocw/dataset_processor.py

Modified: incubator/climate/branches/RefactorInput/ocw/dataset_processor.py
URL: http://svn.apache.org/viewvc/incubator/climate/branches/RefactorInput/ocw/dataset_processor.py?rev=1514385&r1=1514384&r2=1514385&view=diff
==============================================================================
--- incubator/climate/branches/RefactorInput/ocw/dataset_processor.py (original)
+++ incubator/climate/branches/RefactorInput/ocw/dataset_processor.py Thu Aug 15 17:19:19
2013
@@ -155,7 +155,7 @@ def subset(subregion, target_dataset):
     # Get subregion indices into subregion data
     dataset_slices = _get_subregion_slice_indices(subregion, target_dataset)
     # Build new dataset with subset information
-    return Dataset(
+    return ds.Dataset(
         target_dataset.lats[latStart, latEnd + 1],
         target_dataset.lons[lonStart, lonEnd + 1],
         target_dataset.times[timeStart, timeEnd + 1],



Mime
View raw message