From ddaea3af7da47ef8e7529c24a2343cc55af2b741 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 9 Mar 2021 17:44:48 -0600
Subject: [PATCH] snapshot...

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

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index ace216c3..cee2f466 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -167,10 +167,16 @@ def analyze(ice_dct, no_ice_dct):
 
     print(np.sum(np.logical_and(hist_a > 0, hist_b > 0)))
 
+    last_file = None
+    cnt = 0
     for ts in list(no_ice_dct.keys()):
         try:
             ds = get_goes_datasource(ts)
             goes_file = ds.get_file(ts)[0]
+            if goes_file != last_file:
+                print(goes_file)
+                last_file = goes_file
+                cnt += 1
         except Exception:
             continue
 
-- 
GitLab