From 5f974211e155223cb334214086bfb289735ced3c Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 19 Jan 2022 11:02:24 -0600
Subject: [PATCH] qc now does not check solzen for mode: 'ANY'

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

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 53e11bbf..a294c581 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -858,8 +858,9 @@ def apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask,
         elif day_night == 'DAY' and not is_day(solzen[i,]):
             continue
         elif day_night == 'ANY':
-            if not (is_day(solzen[i,]) or is_night(solzen[i,])):
-                continue
+            pass
+            # if not (is_day(solzen[i,]) or is_night(solzen[i,])):
+            #     continue
 
         keep_0 = np.logical_or(cld_mask[i,] == 2, cld_mask[i,] == 3)  # cloudy
         keep_1 = np.invert(np.isnan(cld_top_hgt[i,]))
@@ -929,8 +930,9 @@ def apply_qc_no_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mas
         elif day_night == 'DAY' and not is_day(solzen[i,]):
             continue
         elif day_night == 'ANY':
-            if not (is_day(solzen[i,]) or is_night(solzen[i,])):
-                continue
+            pass
+            # if not (is_day(solzen[i,]) or is_night(solzen[i,])):
+            #     continue
 
         keep_0 = np.logical_or(cld_mask[i,] == 2, cld_mask[i,] == 3)  # cloudy
         keep_1 = np.invert(np.isnan(cld_top_hgt[i,]))
-- 
GitLab