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

snapshot...

parent fa85c684
Branches
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end
time_s = []
fl_alt_s = []
ice_int_s = []
cnt = 0
for idx, time in enumerate(time_keys):
if t_start is not None:
if time < t_start:
......@@ -238,10 +238,8 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end
fl_alt_s.append(fl)
ice_int_s.append(I)
cnt += 1
if len(time_s) == 0:
return
print('num reports: ', cnt)
t_start = time_s[0]
t_end = time_s[len(time_s)-1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment