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

snapshot...

parent 3eccc224
No related branches found
No related tags found
No related merge requests found
...@@ -170,6 +170,7 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end ...@@ -170,6 +170,7 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end
time_s = [] time_s = []
fl_alt_s = [] fl_alt_s = []
ice_int_s = [] ice_int_s = []
cnt = 0
for idx, time in enumerate(time_keys): for idx, time in enumerate(time_keys):
if t_start is not None: if t_start is not None:
if time < t_start: if time < t_start:
...@@ -237,8 +238,10 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end ...@@ -237,8 +238,10 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end
fl_alt_s.append(fl) fl_alt_s.append(fl)
ice_int_s.append(I) ice_int_s.append(I)
cnt += 1
if len(time_s) == 0: if len(time_s) == 0:
return return
print('num reports: ', cnt)
t_start = time_s[0] t_start = time_s[0]
t_end = time_s[len(time_s)-1] t_end = time_s[len(time_s)-1]
......
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