Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Oct 8, 2019
1 parent 98cf041 commit 304322a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyresample/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,7 @@ def _compute_uniform_shape(self):
def notnull(arr):
if isinstance(arr, DataArray):
return arr.where(arr.notnull(), drop=True)
else:
return arr[np.isfinite(arr)]
return arr[np.isfinite(arr)]

leftlons = notnull(self.lons[:, 0])
rightlons = notnull(self.lons[:, -1])
Expand Down

0 comments on commit 304322a

Please sign in to comment.