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

snapshot...

parent fad020b6
Branches
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ def process_cld_prob_(grd_k, dum):
return None
# hist_10 += np.histogram(grd_k.flatten(), range=[0.0, 1.0], bins=10)[0]
keep = np.where(keep, np.logical_and(0.1 < grd_k, grd_k < 0.90), False)
if np.sum(keep)/num_keep < 0.30:
if np.sum(keep)/num_keep < 0.20:
return None
grd_k = np.where(np.invert(keep), 0, grd_k)
return grd_k
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment