From f4833349dcc8c25f9e4e253bdc6ad69a9f2b7a97 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 25 Jan 2021 15:45:05 -0600 Subject: [PATCH] snapshot... --- modules/aeolus/aeolus_amv.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py index d3abe2b2..f50a61e4 100644 --- a/modules/aeolus/aeolus_amv.py +++ b/modules/aeolus/aeolus_amv.py @@ -257,8 +257,8 @@ def run_best_fit_all(amv_dir, source, product_dir, product, raob_path, gfs_path, prd_list = [] if not full_domain: for k, file in enumerate(raob_files): - raob_dct, ts = get_raob_dict_cdf(file) - ts_a = raob_ds.ftimes[k,0] + raob_dct = get_raob_dict_cdf(file) + ts = raob_ds.ftimes[k,0] m_d = match_amvs_to_raobs(raob_dct, ts, amv_files) if m_d is None: continue @@ -295,7 +295,8 @@ def run_best_fit_all(amv_dir, source, product_dir, product, raob_path, gfs_path, return tup else: for k, file in enumerate(raob_files): - raob_dct, ts = get_raob_dict_cdf(file) + raob_dct = get_raob_dict_cdf(file) + ts = raob_ds.ftimes[k,0] amvs = get_amvs(amv_files, ts) if amvs is None: continue @@ -526,7 +527,7 @@ def run_compare(): 'gfs.19112912_F012.h5'] for k, file in enumerate(raob_files): - raob_dct, ts = get_raob_dict_cdf(raob_dir+file) + raob_dct = get_raob_dict_cdf(raob_dir+file) compare_gfs_raob(raob_dct, gfs_dir+gfs_files[k]) -- GitLab