Repository: climate Updated Branches: refs/heads/master 91c006555 -> 96ab3eaf1
CLIMATE-941 Value Error When Bounds Object Is Created Without Named Inputs Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/5220300b Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/5220300b Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/5220300b Branch: refs/heads/master Commit: 5220300be17b5a78139c6aba6eb4176bf6a6738f Parents: 4cf79f3 Author: Michael Anderson <michaelanderson@Michaels-iMac.local> Authored: Thu Jan 4 20:55:32 2018 -0500 Committer: Michael Anderson <michaelanderson@Michaels-iMac.local> Committed: Thu Jan 4 20:55:32 2018 -0500 ---------------------------------------------------------------------- ocw-ui/backend/processing.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/5220300b/ocw-ui/backend/processing.py ---------------------------------------------------------------------- diff --git a/ocw-ui/backend/processing.py b/ocw-ui/backend/processing.py index 13ebe55..07375d8 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)