Skip to content
Snippets Groups Projects
Commit 852f9e39 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 1ff6a942
Branches
No related tags found
No related merge requests found
......@@ -67,8 +67,8 @@ def keep_tile(param_s, tile):
return False
np.where(np.invert(keep), 0, grd_k)
keep = np.where(keep, np.invert(np.logical_and(0.05 < grd_k, grd_k < 0.95)), False)
if np.sum(keep)/total > 0.7:
keep = np.where(keep, np.invert(np.logical_and(0.1 < grd_k, grd_k < 0.9)), False)
if np.sum(keep)/total > 0.75:
return True
else:
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment