From a848ef71817dfa8c04038986b1d8cbe9a46ddf4d Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 5 Oct 2022 11:39:59 -0500 Subject: [PATCH] snapshot... --- modules/amv/caliop_clavrx_amv.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/amv/caliop_clavrx_amv.py b/modules/amv/caliop_clavrx_amv.py index 337eb4c5..c0cacff8 100644 --- a/modules/amv/caliop_clavrx_amv.py +++ b/modules/amv/caliop_clavrx_amv.py @@ -77,9 +77,12 @@ def match_calipso_clavrx_to_amvs(nom_time, calipso_clavrx_nc4, amv_files, calips param_s.append(amv_cc) param_s.append(amv_ll) - param_s.append(amvs_nd[:, amv_pres_idx]) - param_s.append(amvs_nd[:, amv_spd_idx]) - param_s.append(amvs_nd[:, amv_dir_idx]) + for p_idx, p in enumerate(amv_params): + param_s.append(amvs_nd[:, p_idx]) + + # param_s.append(amvs_nd[:, amv_pres_idx]) + # param_s.append(amvs_nd[:, amv_spd_idx]) + # param_s.append(amvs_nd[:, amv_dir_idx]) coords_a = {'num_calipso_clavrx_params': calipso_clavrx_params} dims_a = ['num_calipso_clavrx_params'] -- GitLab