diff --git a/modules/icing/util.py b/modules/icing/util.py index 562485ec3d0f1b0ce8a6615b9968136125616c0e..f18c0bb0b51d870d12dadd13ddd48191f14a43c8 100644 --- a/modules/icing/util.py +++ b/modules/icing/util.py @@ -191,6 +191,7 @@ def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=h model_path = night_model_path if lunar: model_path = day_model_path + day = 'DAY' nght_data_dct = {name: [] for name in nght_train_params} for name in nght_train_params: @@ -201,7 +202,7 @@ def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=h nght_grd_dct[ds_name] = np.stack(nght_data_dct[ds_name]) preds_nght_dct, probs_nght_dct = model_module.run_evaluate_static(nght_grd_dct, num_nght_tiles, model_path, - day_night='NIGHT', l1b_or_l2=l1b_andor_l2, + day_night=day, l1b_or_l2=l1b_andor_l2, prob_thresh=prob_thresh, use_flight_altitude=use_flight_altitude, flight_levels=flight_levels)