From 3ece8eb4510ed936dc7d9e7ab2ff19e601dc2b41 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 11 Nov 2022 13:56:03 -0600 Subject: [PATCH] snapshot... --- modules/icing/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/icing/util.py b/modules/icing/util.py index b3eb99b9..c92fe002 100644 --- a/modules/icing/util.py +++ b/modules/icing/util.py @@ -533,7 +533,7 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output prob_s.append(probs) prob_s = np.stack(prob_s, axis=-1) max_prob = np.max(prob_s, axis=2) - max_prob = np.where(max_prob < 0.5, np.nan, max_prob) + max_prob = np.where(max_prob < prob_thresh, np.nan, max_prob) make_icing_image(h5f, max_prob, None, None, clvrx_str_time, satellite, domain, ice_lons_vld=keep_lons, ice_lats_vld=keep_lats, extent=extent) -- GitLab