Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
CLIMATE-941 Value Error When Bounds Object Is Created Without Named I…
Browse files Browse the repository at this point in the history
…nputs
  • Loading branch information
Michael Anderson authored and Michael Anderson committed Jan 5, 2018
1 parent 4cf79f3 commit 5220300
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ocw-ui/backend/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5220300

Please sign in to comment.