From 5220300be17b5a78139c6aba6eb4176bf6a6738f Mon Sep 17 00:00:00 2001 From: Michael Anderson Date: Thu, 4 Jan 2018 20:55:32 -0500 Subject: [PATCH] CLIMATE-941 Value Error When Bounds Object Is Created Without Named Inputs --- ocw-ui/backend/processing.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ocw-ui/backend/processing.py b/ocw-ui/backend/processing.py index 13ebe550..07375d82 100644 --- a/ocw-ui/backend/processing.py +++ b/ocw-ui/backend/processing.py @@ -203,12 +203,12 @@ def run_evaluation(): day_offset = end.day - 1 end -= timedelta(days=day_offset) - subset = Bounds(eval_bounds['lat_min'], - eval_bounds['lat_max'], - eval_bounds['lon_min'], - eval_bounds['lon_max'], - start, - end) + subset = Bounds(lat_min=eval_bounds['lat_min'], + lat_max=eval_bounds['lat_max'], + lon_min=eval_bounds['lon_min'], + lon_max=eval_bounds['lon_max'], + start=start, + end=end) ref_dataset = dsp.safe_subset(ref_dataset, subset) target_datasets = [dsp.safe_subset(ds, subset)