Skip to content
Snippets Groups Projects
Commit 1c6c9b41 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent bf5a886f
Branches
No related tags found
No related merge requests found
...@@ -498,6 +498,16 @@ def process_1(ice_dct, no_ice_dct, neg_ice_dct): ...@@ -498,6 +498,16 @@ def process_1(ice_dct, no_ice_dct, neg_ice_dct):
for key in uniq_sorted_no_ice: for key in uniq_sorted_no_ice:
new_no_ice_dct[key] = no_ice_dct[key] new_no_ice_dct[key] = no_ice_dct[key]
neg_ice_keys = np.array(neg_ice_keys)
np.random.shuffle(neg_ice_keys)
neg_ice_keys = neg_ice_keys[0:5000]
uniq_sorted_neg_ice = np.unique(neg_ice_keys)
print(neg_ice_keys.shape, uniq_sorted_neg_ice.shape)
for key in uniq_sorted_neg_ice:
new_neg_ice_dct[key] = neg_ice_dct[key]
#return new_ice_dct, new_no_ice_dct, new_neg_ice_dct
def run_qc(filename, filename_l1b): def run_qc(filename, filename_l1b):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment