From de1c7b241a4968ad5e328a82b5aea10556815764 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 13 Nov 2023 10:19:44 -0600
Subject: [PATCH] snapshot...

---
 modules/icing/pirep_goes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index a069f12c..6bfa7fa1 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1439,7 +1439,7 @@ def apply_qc_icing_pireps_new(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, cld
             continue
 
         cth_mean = np.nanmean(cld_top_hgt[i,])
-        if not (cth_mean > icing_alt[i,] > cth_mean - 1000.0):
+        if not (closeness_top+cth_mean > icing_alt[i,] > cth_mean - 1000.0):
             continue
 
         keep = np.where(keep, np.logical_and(cld_top_hgt[i,] > icing_alt[i,],
-- 
GitLab