From ec83cd44e0b8663cd9b801a721217dd71588c99c Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 19 Sep 2022 10:54:26 -0500 Subject: [PATCH] snaphot... --- modules/util/viirs_l1b_l2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py index f1dd82fa..c4983640 100644 --- a/modules/util/viirs_l1b_l2.py +++ b/modules/util/viirs_l1b_l2.py @@ -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 -- GitLab