Skip to content

Commit

Permalink
Bugfix overview_sun.
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 Oct 13, 2015
1 parent 9ca3572 commit e5b1f96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mpop/instruments/visir.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ def overview_sun(self, stretch='linear', gamma=1.6):

lonlats = self[10.8].area.get_lonlats()

red = self[0.635].sunzen_corr(self.time_slot, lonlats, limit=88.)
green = self[0.85].sunzen_corr(self.time_slot, lonlats, limit=88.)
red = self[0.635].sunzen_corr(self.time_slot, lonlats, limit=88.).data
green = self[0.85].sunzen_corr(self.time_slot, lonlats, limit=88.).data
blue = -self[10.8].data

img = geo_image.GeoImage((red, green, blue),
Expand Down

0 comments on commit e5b1f96

Please sign in to comment.