From 0f31d00b47490408de84c71a560226c69ce48a58 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 1 Dec 2022 13:51:00 -0600 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 5799a2e5..eb2ef35a 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1237,8 +1237,8 @@ def apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, cld_opd # continue # if not (500.0 < icing_alt[i] < 3000.0): - if not (icing_alt[i] < 3000.0): - continue + # if not (icing_alt[i] < 3000.0): + # 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,])) @@ -1296,8 +1296,8 @@ def apply_qc_no_icing_pireps(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, cld_ # continue # if not (500.0 < icing_alt[i] < 3000.0): - if not (icing_alt[i] < 3000.0): - continue + # if not (icing_alt[i] < 3000.0): + # 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,])) @@ -1311,7 +1311,7 @@ def apply_qc_no_icing_pireps(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, cld_ keep = np.where(keep, (cld_top_hgt[i,] + closeness_top) > icing_alt[i], False) keep = np.where(keep, (cld_top_hgt[i,] - max_depth) < icing_alt[i], False) - keep = np.where(keep, np.logical_and(bt_11um[i,] > 228.0, bt_11um[i,] < 273.0), False) + keep = np.where(keep, np.logical_and(bt_11um[i,] > 228.0, bt_11um[i,] < 270.0), False) mask.append(keep) idxs.append(i) -- GitLab