From 25e40cc0ed7387551659d2d74cea12c448a63694 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 6 Nov 2023 11:44:27 -0600
Subject: [PATCH] snapshot...

---
 modules/deeplearning/icing_fcn.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/deeplearning/icing_fcn.py b/modules/deeplearning/icing_fcn.py
index 3ce7f08a..0b51fc4b 100644
--- a/modules/deeplearning/icing_fcn.py
+++ b/modules/deeplearning/icing_fcn.py
@@ -1201,9 +1201,10 @@ def run_evaluate_static(data_dct, num_tiles, ckpt_dir_s_path, day_night='DAY', l
     return preds_dct, probs_dct
 
 
-def run_evaluate_static_2(model, data_dct, num_tiles, prob_thresh=0.5, flight_levels=[0, 1, 2, 3, 4], use_flight_altitude=False):
+def run_evaluate_static_2(model, data_dct, num_tiles, prob_thresh=0.5, flight_levels=[0, 1, 2, 3, 4],
+                          use_flight_altitude=False, use_max_cth_level=False):
 
-    if not use_flight_altitude:
+    if not use_flight_altitude or use_max_cth_level:
         flight_levels = [0]
 
     probs_dct = {flvl: None for flvl in flight_levels}
-- 
GitLab