From e0bd6c2d62356acc3935d24d82b9ad249ec8335b Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 28 Oct 2020 13:18:48 -0500
Subject: [PATCH] snapshot...

---
 modules/aeolus/aeolus_amv.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py
index 1de7110e..0c266deb 100644
--- a/modules/aeolus/aeolus_amv.py
+++ b/modules/aeolus/aeolus_amv.py
@@ -652,7 +652,7 @@ def subset_by_time(match_file, dt_str_0, dt_str_1, amv_var_names):
         for k in range(nvars):
             amvs[idx, 0:n_amvs, k] = a_nc_vars[k][a:b]
 
-        for k in range(nvars):
+        for k in range(npvars):
             profs[idx, 0:n_levs, k] = p_vars[k][c:d]
 
         accum_amv += n_amvs
-- 
GitLab