From 68567e4f5a2bd604f33257720110e538afde5798 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 27 Mar 2023 10:57:03 -0500
Subject: [PATCH] snapshot...

---
 modules/util/viirs_surfrad.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/util/viirs_surfrad.py b/modules/util/viirs_surfrad.py
index ad03cd7a..13e25331 100644
--- a/modules/util/viirs_surfrad.py
+++ b/modules/util/viirs_surfrad.py
@@ -29,8 +29,8 @@ keep_out_opd = ['/ships19/cloud/scratch/cphillips/clavrx/run_viirs_superres/site
 keep_out = keep_out_opd
 
 
-# target_param = 'cloud_probability'
-target_param = 'cld_opd_dcomp'
+target_param = 'cloud_probability'
+# target_param = 'cld_opd_dcomp'
 
 group_name_i = 'super/'
 group_name_m = 'orig/'
@@ -72,7 +72,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