diff --git a/modules/util/abi_surfrad.py b/modules/util/abi_surfrad.py index 94dae3438aecd54b900a0a4df788ebeec07ae983..23c085eca39436006912dde31d8c9ffd597d7959 100644 --- a/modules/util/abi_surfrad.py +++ b/modules/util/abi_surfrad.py @@ -65,9 +65,9 @@ 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 < 160.0), False) + keep_cld = np.where(keep, 0.2 < 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 < 0.80): if not (0.10 < frac_cld): return None grd_k = np.where(np.invert(keep), 0, grd_k) # Convert NaN to 0