From d538344d8d3e52b4db15ac4f2aa53bff16d2fba7 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 27 Mar 2023 14:33:43 -0500 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 407320a6..67ee8b8d 100644 --- a/modules/util/viirs_l1b_l2.py +++ b/modules/util/viirs_l1b_l2.py @@ -81,7 +81,7 @@ def process_cld_prob(grd_k): keep_cld = np.where(keep, grd_k > 0.70, False) frac_clr = np.sum(keep_clr)/num_keep frac_cld = np.sum(keep_cld)/num_keep - if not (frac_clr >= 0.22 and frac_cld >= 0.22): + if not (frac_clr >= 0.20 and frac_cld >= 0.20): return None grd_k = np.where(np.invert(keep), 0, grd_k) # Convert NaN to 0 return grd_k -- GitLab