From dd9ee35b078681a08603629a6d79a08b66e99d95 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sat, 27 Mar 2021 13:59:53 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 22d2e449..1cf7cbda 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -355,6 +355,9 @@ def process_2(ice_dct, no_ice_dct, neg_ice_dct):
     ice_keys_3 = []
     ice_keys_2 = []
 
+    print('num keys ice, no_ice, neg_ice: ', len(ice_dct), len(no_ice_dct), len(neg_ice_dct))
+    no_intensity_cnt = 0
+
     for ts in list(ice_dct.keys()):
         rpts = ice_dct[ts]
         for tup in rpts:
@@ -368,6 +371,8 @@ def process_2(ice_dct, no_ice_dct, neg_ice_dct):
                 ice_keys_3.append(ts)
             elif tup[3] == 2:
                 ice_keys_2.append(ts)
+            else:
+                no_intensity_cnt += 1
 
     no_ice_keys = []
     for ts in list(no_ice_dct.keys()):
@@ -398,6 +403,7 @@ def process_2(ice_dct, no_ice_dct, neg_ice_dct):
 
     ice_keys_1 = np.array(ice_keys_1)
     print('1: ', ice_keys_1.shape)
+    print('no intensity: ', no_intensity_cnt)
 
     ice_keys = np.concatenate([ice_keys_5_6, ice_keys_1, ice_keys_2, ice_keys_3, ice_keys_4])
     uniq_sorted_keys = np.unique(ice_keys)
@@ -453,6 +459,7 @@ def process_1(ice_dct, no_ice_dct, neg_ice_dct):
     ice_times_2 = []
     ice_keys_2 = []
     print('num keys ice, no_ice, neg_ice: ', len(ice_dct), len(no_ice_dct), len(neg_ice_dct))
+
     nfound = 0
     for ts in list(ice_dct.keys()):
         try:
-- 
GitLab