From 7de1db7db4b87982cf25fd525e1ed36586835662 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 12 Sep 2023 13:20:42 -0500 Subject: [PATCH] snapshot... --- modules/util/abi_surfrad_opd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/util/abi_surfrad_opd.py b/modules/util/abi_surfrad_opd.py index f8c8756b..104663b7 100644 --- a/modules/util/abi_surfrad_opd.py +++ b/modules/util/abi_surfrad_opd.py @@ -61,7 +61,7 @@ def process_cld_prob(cld_prob): num_keep = np.sum(keep) keep = np.where(keep, np.logical_or(cld_prob < 0.35, cld_prob > 0.65), False) frac_keep = np.sum(keep)/num_keep - if not (frac_keep > 0.70): + if not (frac_keep > 0.75): return None grd_k = np.where(np.invert(keep), 0, cld_prob) # Convert NaN to 0 return grd_k -- GitLab