From d3db7e54fce79985cb60a46ed635f9fd03198e30 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 28 Mar 2023 14:13:45 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/util/viirs_surfrad.py b/modules/util/viirs_surfrad.py
index 273d5d69..ff191d60 100644
--- a/modules/util/viirs_surfrad.py
+++ b/modules/util/viirs_surfrad.py
@@ -83,7 +83,7 @@ def process_cld_opd(grd_k):
     num_keep = np.sum(keep)
     keep_cld = np.where(keep, np.logical_and(0.1 < grd_k, grd_k < 158.0), False)
     frac_cld = np.sum(keep_cld)/num_keep
-    if 0.60 < frac_cld < 0.85:
+    if not (0.60 < frac_cld < 0.80):
         return None
     grd_k = np.where(np.invert(keep), 0, grd_k)
     return grd_k
-- 
GitLab