Skip to content
Snippets Groups Projects
Commit 7de1db7d authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 840bc570
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ def process_cld_prob(cld_prob):
num_keep = np.sum(keep)
keep = np.where(keep, np.logical_or(cld_prob < 0.35, cld_prob > 0.65), False)
frac_keep = np.sum(keep)/num_keep
if not (frac_keep > 0.70):
if not (frac_keep > 0.75):
return None
grd_k = np.where(np.invert(keep), 0, cld_prob) # Convert NaN to 0
return grd_k
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment