From e0fa7c5dc45c6dc5c952c5e97581072e3001fbe3 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Sun, 30 Jan 2022 15:04:36 -0600 Subject: [PATCH] minor --- modules/icing/pirep_goes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 0cefde1a..b7c2526c 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -2461,6 +2461,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) 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