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

snaphot...

parent 7c3ca6a6
No related branches found
No related tags found
No related merge requests found
......@@ -64,9 +64,9 @@ def keep_tile(param_s, tile):
total = np.sum(keep)
if total == 0:
return False
keep = np.where(keep, np.invert(np.logical_and(0.05 < grd_k, grd_k < 0.95)), False)
if np.sum(keep)/total > 0.5:
keep = np.where(keep, np.invert(np.logical_and(0.05 < grd_k, grd_k < 0.95)), False)
if np.sum(keep)/total > 0.6:
return True
else:
return False
......
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