From a68ec619b1d25f8b153cad56d90a73f12855e452 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 17 Jan 2022 16:51:33 -0600 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 1040c232..eb57f0b1 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -777,14 +777,10 @@ def run_qc(filename, filename_l1b, day_night='ANY', pass_thresh_frac=0.20, icing f_l1b = h5py.File(filename_l1b, 'r') bt_11um = f_l1b['temp_11_0um_nom'][:, y_a:y_b, x_a:x_b] - print('num pireps all: ', len(icing_alt)) - if icing: mask, idxs, num_tested = apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask, bt_11um, sol_zen, sat_zen, day_night=day_night) else: mask, idxs, num_tested = apply_qc_no_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask, bt_11um, sol_zen, sat_zen, day_night=day_night) - print(' num pireps, day_night, icing: ', len(mask), day_night, icing) - print('-----------------------') keep_idxs = [] @@ -797,7 +793,8 @@ def run_qc(filename, filename_l1b, day_night='ANY', pass_thresh_frac=0.20, icing elif frac > pass_thresh_frac: keep_idxs.append(idxs[i]) - print('num valid pireps: ', len(keep_idxs)) + print('day_night, icing, all, valid, pass: ', day_night, icing, len(icing_alt), len(mask), len(keep_idxs)) + print('-----------------------') keep_idxs = np.array(keep_idxs) data_dct = {} -- GitLab