From 314fda1d41fdf049989d725668dc2559d7ff6b26 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 10 Mar 2021 12:17:13 -0600 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 2f863611..cd99061a 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -178,14 +178,16 @@ def analyze(ice_dct, no_ice_dct): ice_times = np.array(ice_times) no_ice_times = np.array(no_ice_times) + print(ice_times.shape, no_ice_times.shape) itrsct_vals, comm1, comm2 = np.intersect1d(no_ice_times, ice_times, return_indices=True) + print(itrsct_vals.shape, comm1.shape, comm2.shape) ice_indexes = np.arange(len(ice_times)) np.random.shuffle(ice_indexes) ucomm2 = ice_indexes[comm2 != ice_indexes] + print(ucomm2.shape) ucomm2 = ucomm2[0:8000] - print(ucomm2[0:20]) files_comm = [] for i in comm2: @@ -194,7 +196,6 @@ def analyze(ice_dct, no_ice_dct): files_extra = [] times_extra = [] for i in ucomm2: - print(i) files_extra.append(ice_files[i]) times_extra.append(ice_times[i]) -- GitLab