Skip to content
Snippets Groups Projects
Commit 2d4d5b82 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 77cc1efa
Branches
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment