climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject [3/6] git commit: CLIMATE-397 - Switch UI backend over to safe_subset
Date Sat, 05 Apr 2014 15:18:12 GMT
CLIMATE-397 - Switch UI backend over to safe_subset

- The UI backend now uses dataset_processor.safe_subset instead of
  subset when it performs subsetting tasks on the loaded datasets. This
  helps to ensure that RCMED datasets don't wind up causing problems due
  to fractional lat/lon grids.


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/236a0d8d
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/236a0d8d
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/236a0d8d

Branch: refs/heads/master
Commit: 236a0d8dcadc8500bad0846d9f2fe43c9d30a5fd
Parents: a663e15
Author: Michael Joyce <joyce@apache.org>
Authored: Sat Apr 5 07:56:35 2014 -0700
Committer: Michael Joyce <joyce@apache.org>
Committed: Sat Apr 5 07:56:35 2014 -0700

----------------------------------------------------------------------
 ocw-ui/backend/processing.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/236a0d8d/ocw-ui/backend/processing.py
----------------------------------------------------------------------
diff --git a/ocw-ui/backend/processing.py b/ocw-ui/backend/processing.py
index deed472..d7e4755 100644
--- a/ocw-ui/backend/processing.py
+++ b/ocw-ui/backend/processing.py
@@ -196,8 +196,8 @@ def run_evaluation():
                     start,
                     end)
 
-    ref_dataset = dsp.subset(subset, ref_dataset)
-    target_datasets = [dsp.subset(subset, ds)
+    ref_dataset = dsp.safe_subset(subset, ref_dataset)
+    target_datasets = [dsp.safe_subset(subset, ds)
                        for ds
                        in target_datasets]
     


Mime
View raw message