diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py
index 6c302944e0a3cc9fc581fdf48ac16effe18fbd64..eef5af45c71bc56e4f7a260223d6e9620dd195c3 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()