From 8e53a967d961fc6efafd164c8e77822f3bbac6bf Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 20 Feb 2023 10:46:51 -0600 Subject: [PATCH] snapshot... --- modules/util/viirs_l1b_l2.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py index b3c39783..f364f035 100644 --- a/modules/util/viirs_l1b_l2.py +++ b/modules/util/viirs_l1b_l2.py @@ -65,7 +65,6 @@ def process_cld_prob_(grd_k, dum): return None # hist_10 += np.histogram(grd_k.flatten(), range=[0.0, 1.0], bins=10)[0] keep_clr = np.where(keep, grd_k < 0.20, False) - # frac_keep = np.sum(keep)/num_keep frac_keep = np.sum(keep_clr)/num_keep if not (0.40 < frac_keep < 0.60): return None -- GitLab