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

snaphot...

parent 3034de2c
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ def keep_tile(param_s, tile): ...@@ -62,7 +62,7 @@ def keep_tile(param_s, tile):
grd_k = tile[k, ].flatten() grd_k = tile[k, ].flatten()
keep = np.invert(np.isnan(grd_k)) keep = np.invert(np.isnan(grd_k))
total = np.sum(keep) total = np.sum(keep)
keep = np.where(keep, np.invert(0.05 < grd_k < 0.95), False) keep = np.where(keep, np.invert(np.logical_and(0.05 < grd_k, grd_k < 0.95)), False)
if keep/total > 0.5: if keep/total > 0.5:
return True return True
......
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