From 4c730dbeff6ca15795d020ace9398107985def71 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 16 Mar 2021 09:00:22 -0500 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 0a9629f6..7ac608c6 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -321,20 +321,23 @@ def run_qc(filename, filename_l1b): cnt = 0 bts = [] phs = [] + opd = [] for i in range(len(mask)): - if (np.sum(mask[i]) / 400) > 0.15: + if (np.sum(mask[i]) / 400) > 0.25: cnt += 1 bts.append((bt_11um[i,].flatten())[mask[i]]) phs.append((cld_phase[i,].flatten())[mask[i]]) + opd.append((cld_opd[i,].flatten())[mask[i]]) #else: # bts.append((bt_11um[i,].flatten())[mask[i]]) print(cnt) bts = np.concatenate(bts) phs = np.concatenate(phs) + opd = np.concatenate(opd) print(bts.shape) print(np.histogram(bts, bins=20)) - print(np.histogram(phs, bins=6)) + print(np.histogram(opd, bins=20)) return mask -- GitLab