From fd691f6eed52bc667c04afb542a9e2072e505b7c Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 16 Dec 2022 11:44:49 -0600
Subject: [PATCH] snapshot...

---
 modules/icing/pirep_goes.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 42037d0a..07025cb2 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1288,7 +1288,7 @@ def apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, cld_opd
         if med_cld_tmp > 274.5:
             continue
 
-        if icing_alt < med_cld_hgt - max_cld_depth:
+        if icing_alt[i] < med_cld_hgt - max_cld_depth:
             continue
 
         mask.append(keep)
@@ -1364,7 +1364,7 @@ def apply_qc_no_icing_pireps(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, cld_
         if med_cld_tmp > 274.5:
             continue
 
-        if icing_alt < med_cld_hgt - max_cld_depth:
+        if icing_alt[i] < med_cld_hgt - max_cld_depth:
             continue
 
         mask.append(keep)
-- 
GitLab