Commit 4aefbfa1 authored by Espen Sollum's avatar Espen Sollum
Browse files

Bugfix: encounter with a rare file that had only 20 scan lines

parent b9a6060c
......@@ -901,7 +901,12 @@ class Scene(object):
if 'self.Nscanlines' in locals():
l_scan = self.Nscanlines - 1
else:
l_scan = 21
#l_scan = 21
# ESO 16/08/2022: rare instance encountered, file is 220k and 20 scan lines.
# file W_XX-EUMETSAT-Darmstadt,SOUNDING+SATELLITE,METOPB+IASI_C_EUMP_20220815212057_51418_eps_o_l1.nc
# Bugfix:
# not sure why the -1 is needed but it works
l_scan = self.npoints // 120 - 1
# TEST
# l_scan = 0
......
Supports Markdown
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