From ce7eaf0cde4c2cc47465877c7ae8cb25bbf91767 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 24 Mar 2021 18:05:40 -0500
Subject: [PATCH] snapshot...

---
 modules/icing/pirep_goes.py | 33 ---------------------------------
 1 file changed, 33 deletions(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 8c320d31..686daf80 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -280,39 +280,6 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end
         create_file(outfile_l1b, data_dct, l1b_ds_list, l1b_ds_types, lon_c, lat_c, time_s, fl_alt_s, ice_int_s, unq_ids)
 
 
-def analyze2(ice_dct):
-    intensity = []
-    cnt_0 = 0
-    cnt_1 = 0
-    cnt_2 = 0
-    cnt_3 = 0
-    cnt_4 = 0
-    cnt_5 = 0
-    cnt_6 = 0
-    for ts in list(ice_dct.keys()):
-        reports = ice_dct[ts]
-        for tup in reports:
-            it = tup[3]
-            if it == 0:
-                cnt_0 += 1
-            elif it == 1:
-                cnt_1 += 1
-            elif it == 2:
-                cnt_2 += 1
-            elif it == 3:
-                cnt_3 += 1
-            elif it == 4:
-                cnt_4 += 1
-            elif it == 5:
-                cnt_5 += 1
-            elif it == 6:
-                cnt_6 += 1
-            intensity.append(tup[3])
-    intensity = np.array(intensity)
-    print(np.histogram(intensity, bins=7))
-    print(cnt_0, cnt_1, cnt_2, cnt_3, cnt_4, cnt_5, cnt_6)
-
-
 def analyze(ice_dct, no_ice_dct):
 
     last_file = None
-- 
GitLab