diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py index de770eafc4a2c639b02fb657c25339d2714165ca..7623866da1e30a1849bf8d0b5f6799605114a980 100644 --- a/modules/aeolus/aeolus_amv.py +++ b/modules/aeolus/aeolus_amv.py @@ -312,7 +312,7 @@ def run_best_fit_driver(amv_dir, source, raob_path, gfs_path, product_dir, produ filename = None raob_filename = None amv_filename = None - create_file_new2(filename, raob_dct, gfs_at_raob_dct, bf_dct, prd_dct, raob_filename, amv_filename) + create_file_new2(filename, m_d, raob_dct, gfs_at_raob_dct, bf_dct, prd_dct, raob_filename, amv_filename) # Skip this and below if writing an output file. out_list.append((bf_dct, prd_dct)) @@ -2014,7 +2014,7 @@ def create_file(filename, aeolus_to_amv_dct, aeolus_dct, amv_files, cld_lyr=Fals rootgrp.close() -def create_file_new2(filename, raob_dct, gfs_at_raob_dct, bf_dct, prd_dct, raob_filename, amv_file_name): +def create_file_new2(filename, match_dct, raob_dct, gfs_at_raob_dct, bf_dct, prd_dct, raob_filename, amv_file_name): num_aparams = 7 num_aprofs = 0 max_num_alevels = 0 @@ -2030,7 +2030,7 @@ def create_file_new2(filename, raob_dct, gfs_at_raob_dct, bf_dct, prd_dct, raob_ #amv_file_s = np.array(amv_file_s, dtype='object') # scan to get max num levels, amvs - keys = list(raob_dct.keys()) + keys = list(match_dct.keys()) for key in keys: print(key) raob = raob_dct.get(key)