diff --git a/modules/util/viirs_surfrad.py b/modules/util/viirs_surfrad.py index ad03cd7ab66beccd3cda9df914f6a91ab29f6b26..13e253312dfa3a185f0c8086da4511b8676e28f3 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