From 33e006980b0d6358b4a05091fa2b9d457e764e4b Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 30 May 2023 10:36:25 -0500
Subject: [PATCH] snapshot...

---
 modules/util/abi_surfrad.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/util/abi_surfrad.py b/modules/util/abi_surfrad.py
index 45baae3a..20339e08 100644
--- a/modules/util/abi_surfrad.py
+++ b/modules/util/abi_surfrad.py
@@ -64,9 +64,11 @@ def process_cld_prob(grd_k):
 def process_cld_opd(grd_k):
     keep = np.invert(np.isnan(grd_k))
     num_keep = np.sum(keep)
-    keep_cld = np.where(keep, np.logical_and(0.1 < grd_k, grd_k < 158.0), False)
+    # keep_cld = np.where(keep, np.logical_and(0.1 < grd_k, grd_k < 158.0), False)
+    keep_cld = np.where(keep, np.logical_and(0.1 < grd_k, grd_k < 160.0), False)
     frac_cld = np.sum(keep_cld)/num_keep
-    if not (0.10 < frac_cld < 0.90):
+    # if not (0.10 < frac_cld < 0.90):
+    if not (0.10 < frac_cld):
         return None
     grd_k = np.where(np.invert(keep), 0, grd_k)  # Convert NaN to 0
     return grd_k
-- 
GitLab