diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py
index 574243de66a13b2196371fd68833072b2e36899d..2d7ab7a31210ac2295859187bb21203436f2b084 100644
--- a/modules/aeolus/aeolus_amv.py
+++ b/modules/aeolus/aeolus_amv.py
@@ -1493,6 +1493,7 @@ def match_aeolus_to_clavrx(aeolus_dict, clvrx_files):
 
     keys = list(aeolus_dict.keys())
 
+    cnt = 0
     last_f_idx = -1
     param_nd = None
     dataset = None
@@ -1531,6 +1532,8 @@ def match_aeolus_to_clavrx(aeolus_dict, clvrx_files):
             param_nd = np.stack(data, axis=0)
             match_dict[cnt] = (key, cc, ll, f_idx, prof, param_nd)
 
+            cnt += 1
+
     for ds in dataset_s:
         ds.close()