Skip to content

Commit

Permalink
pyspectral now uses standard platform names.
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 Jun 24, 2015
1 parent 3e7386b commit cbee4d8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions mpop/instruments/seviri.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@
except ImportError:
sza = None

METEOSAT = {'meteosat10': 'met10',
'meteosat9': 'met9',
'meteosat8': 'met8',
'meteosat11': 'met11',
}


class SeviriCompositer(VisirCompositer):

"""This class sets up the Seviri instrument channel list.
Expand Down Expand Up @@ -137,7 +130,7 @@ def refl39_chan(self):

self.check_channels(3.75, 10.8, 13.4)

platform_name = METEOSAT.get(self.fullname, 'unknown')
platform_name = self.fullname
if platform_name == 'unknown':
LOG.error("Failed setting correct platform name for pyspectral! " +
"Satellite = " + str(self.fullname))
Expand Down

0 comments on commit cbee4d8

Please sign in to comment.