diff --git a/modules/util/viirs_surfrad.py b/modules/util/viirs_surfrad.py index 273d5d69183a57168cab09745a67113894c87bd7..ff191d6014d9ed9dac4bcb9f36fd8c04171ae0f5 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