From a306f93fd73731cc504a426f20045acaf9a97ec5 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 5 Aug 2021 20:07:38 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 177e8bd2..052a3323 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -869,23 +869,23 @@ def apply_qc_no_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mas
         # Test1
         keep = np.where(keep, cld_top_hgt[i,] > icing_alt[i], False)
 
-        # Test2
-        keep = np.where(keep,
-            ((cld_phase[i,] == 4) &
-                np.logical_and(cld_top_hgt[i,]+closeness > icing_alt[i], cld_top_hgt[i,]-closeness < icing_alt[i])),
-                     False)
-
-        # Test4
-        keep = np.where(keep, ((cld_phase[i,] == 4) & (cld_opd[i,] < opd_thin_threshold) & (cld_top_hgt[i,] > icing_alt[i])), False)
-
-        # Test5
-        keep = np.where(keep, (bt_11um[i,] > 270.0), False)
-
-        # Test6
-        keep = np.where(keep, (bt_11um[i,] < 228.0), False)
-
-        # Test3
-        keep = np.where(keep, np.invert((cld_opd[i,] >= opd_thick_threshold) & (cld_phase[i,] == 4) & (cld_top_hgt[i,] > icing_alt[i])), False)
+        # # Test2
+        # keep = np.where(keep,
+        #     ((cld_phase[i,] == 4) &
+        #         np.logical_and(cld_top_hgt[i,]+closeness > icing_alt[i], cld_top_hgt[i,]-closeness < icing_alt[i])),
+        #              False)
+        #
+        # # Test4
+        # keep = np.where(keep, ((cld_phase[i,] == 4) & (cld_opd[i,] < opd_thin_threshold) & (cld_top_hgt[i,] > icing_alt[i])), False)
+        #
+        # # Test5
+        # keep = np.where(keep, (bt_11um[i,] > 270.0), False)
+        #
+        # # Test6
+        # keep = np.where(keep, (bt_11um[i,] < 228.0), False)
+        #
+        # # Test3
+        # keep = np.where(keep, np.invert((cld_opd[i,] >= opd_thick_threshold) & (cld_phase[i,] == 4) & (cld_top_hgt[i,] > icing_alt[i])), False)
 
         mask.append(keep)
         idxs.append(i)
-- 
GitLab