diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 34a52c6a8c59201ac05feed6e2ff4df629752bbd..de0d04b1c1d70e7afbd0f9c5a1015270912c1d90 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -170,6 +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: @@ -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) 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]