From 0a714ede445b36c0c247c991870dacc71e41b6e0 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 7 Jul 2022 10:07:40 -0500 Subject: [PATCH] just keep flag == 0 --- modules/aeolus/aeolus_amv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py index 0e457128..0f83b217 100644 --- a/modules/aeolus/aeolus_amv.py +++ b/modules/aeolus/aeolus_amv.py @@ -116,7 +116,8 @@ def match_amvs_to_raobs(raob_dict, raob_time, amv_ds, time_window=10, filepath=N if qc_name is not None: qc_param = nc4f[qc_name][:].data good = amv_ds.filter(qc_param) - vld = np.logical_and(vld, good) + # vld = np.logical_and(vld, good) + vld = good param_nd = np.vstack(param_s) param_nd = param_nd[:, vld] -- GitLab