Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CLIMATE-941 Value Error When Bounds Object Is Created Without Named I…
…nputs
  • Loading branch information
Michael Anderson authored and Michael Anderson committed Jan 5, 2018
1 parent 4cf79f3 commit 5220300be17b5a78139c6aba6eb4176bf6a6738f
Showing 1 changed file with 6 additions and 6 deletions.
@@ -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)

0 comments on commit 5220300

Please sign in to comment.