From 24525a3b2711017cac79b5859c9c40b0328957dc Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 23 Jun 2021 12:52:26 -0500
Subject: [PATCH] minor

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

diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py
index 6c302944..eef5af45 100644
--- a/modules/aeolus/aeolus_amv.py
+++ b/modules/aeolus/aeolus_amv.py
@@ -2043,7 +2043,9 @@ def create_file_new(match_dct, filename, amv_params):
                 prf_hhb[idx,k] = prof[k,4]
 
             for pidx, param in enumerate(amv_params):
-                nc4_vars[pidx][idx, :] = param_nd[pidx, :]
+                nda = param_nd[pidx,]
+                cnt = nda.shape[0]
+                nc4_vars[pidx][idx, 0:cnt-1,] = nda
             idx += 1
 
     rg_exmpl.close()
-- 
GitLab