From efff9595ecfd8629911116bba390eac29817b675 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 9 May 2022 10:37:37 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 9bcab5bd..9be13171 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1083,20 +1083,20 @@ def apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask,
         # if (np.sum(keep) / num_keep) < 0.80:
         #     continue
 
-        # Test2
-        keep = np.where(keep,
-            np.invert((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, np.invert((cld_phase[i,] == 4) & (cld_opd[i,] < opd_thin_threshold)), False)
-
-        # Test5 and Test6
-        keep = np.where(keep, np.logical_and(bt_11um[i,] > 228.0, bt_11um[i,] < 270.0), False)
-
-        # Test3
-        keep = np.where(keep, (cld_opd[i,] >= opd_thick_threshold) & (cld_phase[i,] == 4), False)
+        # # Test2
+        # keep = np.where(keep,
+        #     np.invert((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, np.invert((cld_phase[i,] == 4) & (cld_opd[i,] < opd_thin_threshold)), False)
+        #
+        # # Test5 and Test6
+        # keep = np.where(keep, np.logical_and(bt_11um[i,] > 228.0, bt_11um[i,] < 270.0), False)
+        #
+        # # Test3
+        # keep = np.where(keep, (cld_opd[i,] >= opd_thick_threshold) & (cld_phase[i,] == 4), False)
 
         mask.append(keep)
         idxs.append(i)
-- 
GitLab