From 4d0ea2beab474d1011760c681f7de1866cc62031 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 23 Apr 2021 13:59:47 -0500 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 00112f71..145edd09 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -692,6 +692,7 @@ def run_daynight(filename, filename_l1b, day_night='ANY'): def run_qc(filename, filename_l1b, day_night='ANY'): + pass_thresh_frac = 0.3 x_a = 10 x_b = 30 y_a = x_a @@ -724,7 +725,7 @@ def run_qc(filename, filename_l1b, day_night='ANY'): keep_idxs = [] for i in range(len(mask)): - if (np.sum(mask[i]) / nx_x_ny) > 0.20: + if (np.sum(mask[i]) / nx_x_ny) > pass_thresh_frac: keep_idxs.append(idxs[i]) print('num valid pireps: ', len(keep_idxs)) -- GitLab