diff --git a/modules/icing/util.py b/modules/icing/util.py index 56c6cea5b190734bcf43be626905d6898aa97f44..46c094af435084e29499d9dc948b0334d639a9e7 100644 --- a/modules/icing/util.py +++ b/modules/icing/util.py @@ -962,7 +962,7 @@ def run_icing_predict(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=h def run_icing_predict_fcn(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_dir=homedir, day_model_path=model_path_day, night_model_path=model_path_night, prob_thresh=0.5, satellite='GOES16', domain='CONUS', day_night='AUTO', - l1b_andor_l2='both', use_flight_altitude=False, res_fac=1, use_nan=False): + l1b_andor_l2='both', use_flight_altitude=False, use_max_cth_level=False, use_nan=False): import deeplearning.icing_fcn as icing_fcn model_module = icing_fcn @@ -976,7 +976,7 @@ def run_icing_predict_fcn(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_d if use_flight_altitude is True: flight_levels = [0, 1, 2, 3, 4] - if use_flight_altitude: + if use_max_cth_level: flight_levels = [-1] else: flight_levels = [0] @@ -1294,7 +1294,7 @@ def run_icing_predict_image_fcn(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', ou if use_flight_altitude is True: flight_levels = [0, 1, 2, 3, 4] - if use_flight_altitude: + if use_max_cth_level: flight_levels = [-1] else: flight_levels = [0]