From fe23a964a5b2122873baf85a6cea55d89a21f5e1 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 5 May 2023 15:26:08 -0500
Subject: [PATCH] snapshot...

---
 modules/util/abi_surfrad.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/util/abi_surfrad.py b/modules/util/abi_surfrad.py
index af85d94f..d8188008 100644
--- a/modules/util/abi_surfrad.py
+++ b/modules/util/abi_surfrad.py
@@ -52,7 +52,8 @@ 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.20 and frac_cld >= 0.20):
+    # if not (frac_clr >= 0.20 and frac_cld >= 0.20):
+    if not frac_cld >= 0.20:
         return None
     grd_k = np.where(np.invert(keep), 0, grd_k)  # Convert NaN to 0
     return grd_k
-- 
GitLab