diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py index c60a2492a4fb5bdfee21f7a0052f3f1b6b44ddcf..e9f606c4a63c9896e99247e49426daed28b2b70c 100644 --- a/modules/aeolus/aeolus_amv.py +++ b/modules/aeolus/aeolus_amv.py @@ -1859,7 +1859,10 @@ def create_file(filename, aeolus_to_amv_dct, aeolus_dct, amv_files, cld_lyr=Fals # outfile: pathname for the Netcdf match file def create_amv_to_aeolus_match_file(aeolus_files_dir, amv_files_dir, outfile=None, amv_source='OPS', band='14', chan='mie'): - a_d = get_aeolus_time_dict_s(aeolus_files_dir, chan=chan) + if os.path.isdir(aeolus_files_dir): + a_d = get_aeolus_time_dict_s(aeolus_files_dir, chan=chan) + else: + a_d = get_aeolus_time_dict(aeolus_files_dir) a_d = time_dict_to_nd(a_d) amv_files = None