From 444ab84e705183f3ec3e3165891bd010e6ce0c6e Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 11 Nov 2022 10:56:29 -0600
Subject: [PATCH] snapshot...

---
 modules/util/viirs_l1b_l2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py
index 5e357305..e14c1d6c 100644
--- a/modules/util/viirs_l1b_l2.py
+++ b/modules/util/viirs_l1b_l2.py
@@ -93,7 +93,7 @@ def process_cld_prob_(grd_k):
     if num_keep / grd_k.size < 0.95:
         return None
     keep = np.where(keep, np.logical_and(0.05 < grd_k, grd_k < 0.95), False)
-    if np.sum(keep)/num_keep < 0.40:
+    if np.sum(keep)/num_keep < 0.25:
         return None
     grd_k = np.where(np.invert(keep), 0, grd_k)
     # grd_k = np.where(grd_k < 0.5, 0.0, 1.0)
-- 
GitLab