diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 68eae2be79792394ce821c25aed8c612ff099afe..ad92c4e0271d88f9af79a443a7b598504145eb26 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -212,6 +212,9 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end time_s.append(time) fl_alt_s.append(fl) + if len(time_s) == 0: + return + t_start = time_s[0] t_end = time_s[len(time_s)-1]