From 599c8cf4bf1ed05ec3ab01c1092034d80b818f32 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 15 Mar 2021 13:59:03 -0500
Subject: [PATCH] snapshot...

---
 modules/icing/pirep_goes.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 68eae2be..ad92c4e0 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]
 
-- 
GitLab