diff --git a/modules/icing/util.py b/modules/icing/util.py index 3ad14932e5aba0007f4853a1defad18781d263c1..9483f7f2e2394da7de13a7adb724e56c0b5ee653 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: