From 57e207058ae77713c8ce95e666eea5213cc284be Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 27 Oct 2023 12:49:11 -0500 Subject: [PATCH] snapshot... --- modules/icing/util.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/icing/util.py b/modules/icing/util.py index 3ad14932..9483f7f2 100644 --- a/modules/icing/util.py +++ b/modules/icing/util.py @@ -466,9 +466,10 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output for ds_name in day_train_params: day_grd_dct[ds_name] = np.stack(day_data_dct[ds_name]) + day_grd_dct['cth_high_avg'] = day_cth_max + preds_day_dct, probs_day_dct = \ - model_module.run_evaluate_static_2(day_model, day_grd_dct, num_day_tiles, day_cth_max, - prob_thresh=prob_thresh, + model_module.run_evaluate_static_2(day_model, day_grd_dct, num_day_tiles, prob_thresh=prob_thresh, use_flight_altitude=use_flight_altitude, flight_levels=flight_levels) @@ -491,9 +492,10 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output for ds_name in nght_train_params: nght_grd_dct[ds_name] = np.stack(nght_data_dct[ds_name]) + nght_grd_dct['cth_high_avg'] = nght_cth_max + preds_nght_dct, probs_nght_dct = \ - model_module.run_evaluate_static_2(night_model, nght_grd_dct, num_nght_tiles, nght_cth_max, - prob_thresh=prob_thresh, + model_module.run_evaluate_static_2(night_model, nght_grd_dct, num_nght_tiles, prob_thresh=prob_thresh, use_flight_altitude=use_flight_altitude, flight_levels=flight_levels) nght_idxs = np.array(nght_idxs) for flvl in flight_levels: -- GitLab