From 7a37e7c15497211e1cd4e6673549e98c2ab93c92 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 13 Dec 2023 14:37:09 -0600
Subject: [PATCH] snapshot...

---
 modules/icing/util.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/icing/util.py b/modules/icing/util.py
index 3d1f9c77..56c6cea5 100644
--- a/modules/icing/util.py
+++ b/modules/icing/util.py
@@ -976,6 +976,8 @@ 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:
+            flight_levels = [-1]
     else:
         flight_levels = [0]
 
@@ -1275,7 +1277,7 @@ def run_icing_predict_image(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output
 def run_icing_predict_image_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=True, res_fac=1,
+                                l1b_andor_l2='BOTH', use_flight_altitude=True, use_max_cth_level=False,
                                 extent=[-105, -70, 15, 50],
                                 pirep_file='/Users/tomrink/data/pirep/pireps_202109200000_202109232359.csv',
                                 obs_lons=None, obs_lats=None, obs_times=None, obs_alt=None, flight_level=None, obs_intensity=None):
@@ -1292,6 +1294,8 @@ 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:
+            flight_levels = [-1]
     else:
         flight_levels = [0]
 
-- 
GitLab