Skip to content
Snippets Groups Projects
Commit 3ece8eb4 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 2d3d674f
No related branches found
No related tags found
No related merge requests found
...@@ -533,7 +533,7 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output ...@@ -533,7 +533,7 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output
prob_s.append(probs) prob_s.append(probs)
prob_s = np.stack(prob_s, axis=-1) prob_s = np.stack(prob_s, axis=-1)
max_prob = np.max(prob_s, axis=2) 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, 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) ice_lons_vld=keep_lons, ice_lats_vld=keep_lats, extent=extent)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment