From d5bc7a3546dab826ebc9d1d45994cf679375acb8 Mon Sep 17 00:00:00 2001
From: rink <rink@ssec.wisc.edu>
Date: Thu, 1 Oct 2020 11:35:16 -0500
Subject: [PATCH] use correct indexes for hht, hhb

---
 modules/aeolus/aeolus_amv.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py
index ff9bf06d..97a4dd48 100644
--- a/modules/aeolus/aeolus_amv.py
+++ b/modules/aeolus/aeolus_amv.py
@@ -408,8 +408,8 @@ def create_file(filename, aeolus_to_amv_dct, aeolus_dct):
 
         prof_s = aeolus_dct.get(key)
         prof = prof_s[0]
-        prf_hht[i_c:i_d] = prof[:, 2]
-        prf_hhb[i_c:i_d] = prof[:, 3]
+        prf_hht[i_c:i_d] = prof[:, 3]
+        prf_hhb[i_c:i_d] = prof[:, 4]
         prf_azm[i_c:i_d] = prof[:, 5]
         prf_spd[i_c:i_d] = prof[:, 6]
         i_c += nlevs
-- 
GitLab