Commit 35eb1f5f authored by Espen Sollum's avatar Espen Sollum
Browse files

Merge branch 'master' of git.nilu.no:ash/ash-iasi

parents 2c592f8d 86e156bc
...@@ -442,7 +442,7 @@ class Scene(object): ...@@ -442,7 +442,7 @@ class Scene(object):
ic=0 ic=0
for Channel in Channels: for Channel in Channels:
# fns='../data/SEVIRI_spectral_response/SEVIRI_'+Channel+'_wvl.dat' # fns='../data/SEVIRI_spectral_response/SEVIRI_'+Channel+'_wvl.dat'
SEVIRI_SR_PATH # SEVIRI_SR_PATH
fns=SEVIRI_SR_PATH + 'SEVIRI_' +Channel+ '_wvl.dat' fns=SEVIRI_SR_PATH + 'SEVIRI_' +Channel+ '_wvl.dat'
if not os.path.isfile(fns): if not os.path.isfile(fns):
print("ERROR: file not found: ", fns) print("ERROR: file not found: ", fns)
...@@ -459,6 +459,9 @@ class Scene(object): ...@@ -459,6 +459,9 @@ class Scene(object):
self.SEVIRI[isc,ic]=np.sum(SpectralResponse*self.BT[isc,ind])/np.sum(SpectralResponse) self.SEVIRI[isc,ic]=np.sum(SpectralResponse*self.BT[isc,ind])/np.sum(SpectralResponse)
isc=isc+1 isc=isc+1
ic=ic+1 ic=ic+1
# TODO: something seems wrong with, e.g,
# iasi_ash_20100519_221754_metopa_18586_eps_o.nc , too low BT in both channels
# Investigate here!
return return
def CalculateAVHRRChannels(self, Channels=['4','5']): def CalculateAVHRRChannels(self, Channels=['4','5']):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment