Skip to content
Snippets Groups Projects
Commit 394eeef3 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 151c1169
No related branches found
No related tags found
No related merge requests found
......@@ -405,28 +405,34 @@ def analyze_all(ice_dct, no_ice_dct, neg_ice_dct):
last_file = None
no_ice_files = []
no_ice_times = []
no_ice_keys = []
for ts in list(no_ice_dct.keys()):
try:
ds = get_goes_datasource(ts)
goes_file, t_0, _ = ds.get_file(ts)
if goes_file is not None and goes_file != last_file:
no_ice_files.append(goes_file)
no_ice_times.append(t_0)
last_file = goes_file
rpts = no_ice_dct[ts]
for tup in rpts:
no_ice_files.append(goes_file)
no_ice_times.append(t_0)
last_file = goes_file
except Exception:
continue
last_file = None
neg_ice_files = []
neg_ice_times = []
neg_ice_keys = []
for ts in list(neg_ice_dct.keys()):
try:
ds = get_goes_datasource(ts)
goes_file, t_0, _ = ds.get_file(ts)
if goes_file is not None and goes_file != last_file:
neg_ice_files.append(goes_file)
neg_ice_times.append(t_0)
last_file = goes_file
rpts = neg_ice_dct[ts]
for tup in rpts:
neg_ice_files.append(goes_file)
neg_ice_times.append(t_0)
last_file = goes_file
except Exception:
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment