Skip to content

Commit

Permalink
Convert maximum extent to list before modification
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
  • Loading branch information
mraspaud committed Jan 19, 2017
1 parent a4206e0 commit 3ced9c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mpop/satin/helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def area_def_names_to_extent(area_def_names, proj4_str,
if not maximum_extent:
return None

maximum_extent = list(maximum_extent)
maximum_extent[0] -= 10000
maximum_extent[1] -= 10000
maximum_extent[2] += 10000
Expand Down

0 comments on commit 3ced9c5

Please sign in to comment.