Skip to content

Commit

Permalink
Make Stickler happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Sep 16, 2019
1 parent b6bdda7 commit c9f7f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions satpy/readers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def get_geostationary_bounding_box(geos_area, nb_points=50):
y = -np.sin(np.linspace(-np.pi, 0, nb_points / 2)) * (ymax - 0.001)

# clip the projection coordinates to fit the area extent of geos_area
ll_x, ll_y, ur_x, ur_y = (np.array(geos_area.area_extent)
/ float(geos_area.proj_dict['h']))
ll_x, ll_y, ur_x, ur_y = (np.array(geos_area.area_extent) /
float(geos_area.proj_dict['h']))

x = np.clip(np.concatenate([x, x[::-1]]), min(ll_x, ur_x), max(ll_x, ur_x))
y = np.clip(np.concatenate([y, -y]), min(ll_y, ur_y), max(ll_y, ur_y))
Expand Down

0 comments on commit c9f7f2f

Please sign in to comment.