From da3d965e5bbefef656767fbe4b5c8ee32f410d4a Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sun, 21 Mar 2021 22:55:55 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index a0b0e794..ce1689f8 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -488,6 +488,11 @@ def analyze_all(ice_dct, no_ice_dct, neg_ice_dct):
     neg_ice_times = np.array(neg_ice_times)
     print('no ice: ', no_ice_times.shape)
     print('neg ice: ', neg_ice_times.shape)
+    no_ice_keys = np.array(no_ice_keys)
+    np.random.shuffle(no_ice_keys)
+    no_ice_keys = no_ice_keys[0:50000]
+    uniq_sorted_no_ice = np.unique(no_ice_keys)
+    print(no_ice_keys.shape, uniq_sorted_no_ice.shape)
 
     # itrsct_vals, comm1, comm2 = np.intersect1d(ice_times_1, ice_times_4, return_indices=True)
     # print(itrsct_vals.shape)
-- 
GitLab