diff --git a/modules/util/abi_surfrad.py b/modules/util/abi_surfrad.py index bfd3718c5b2468bd64fc31137beb8949e0e36015..b3c6a3a4d6859cdbb043bfd2ca533f3d18ed925b 100644 --- a/modules/util/abi_surfrad.py +++ b/modules/util/abi_surfrad.py @@ -102,8 +102,8 @@ def process_cld_opd(grd_k): keep_cld = np.where(keep, np.logical_and(2.0 < grd_k, grd_k < 158.0), False) # keep_cld = np.where(keep, 2.0 < grd_k, False) frac_cld = np.sum(keep_cld)/num_keep - # if not (0.10 < frac_cld < 0.90): - if not (0.20 < frac_cld): + if not (0.20 < frac_cld < 0.90): + # if not (0.20 < frac_cld): return None grd_k = np.where(np.invert(keep), 0, grd_k) # Convert NaN to 0 return grd_k