You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/08/15 19:19:19 UTC

svn commit: r1514385 - /incubator/climate/branches/RefactorInput/ocw/dataset_processor.py

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],