From 2d4d5b82d97452df39ae48465d2af3dd4122002c Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 3 Jan 2022 14:56:14 -0600 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index c8f2843a..b3321185 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1717,7 +1717,6 @@ def process_boeing(boeing_dct, pirep_dct, threshold=3000): grd_bins_boeing = np.where(grd_bins_boeing > 0, 1, grd_bins_boeing) ovrlp_grd_bins = grd_bins + grd_bins_boeing - print(np.sum(ovrlp_grd_bins == 2)) ovlp_keys = [] for j in range(lat_space.shape[0]): @@ -1729,9 +1728,13 @@ def process_boeing(boeing_dct, pirep_dct, threshold=3000): ovlp_keys.append(keys[k]) set_a = set(ovlp_keys) set_b = set(boeing_times) - print(len(set_a), len(set_b)) set_b.difference_update(set_a) - print(len(set_b)) + + no_ovlp_dct = {} + for key in set_b: + no_ovlp_dct[key] = boeing_dct.get(key) + + return no_ovlp_dct # dt_str_0: start datetime string in format YYYY-MM-DD_HH:MM (default) -- GitLab