diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 2f863611577ae1b4ebf5a1fe8e85d7c225792730..cd99061a0f55cbf6b75096a2bbb2a12ebb5d8856 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])