Skip to content
Snippets Groups Projects
Commit 033d6548 authored by rink's avatar rink
Browse files

snapshot..

parent 537bb5c6
Branches
No related tags found
No related merge requests found
......@@ -378,14 +378,12 @@ sub_lon = -137.0 # GOES-17
# return dict: aeolus time -> tuple (amv_lon, amv_lat, amv_pres, amv_spd, amv_dir)
def match_amvs_to_aeolus(aeolus_dict, amv_files_path, amv_source='OPS', band='14', amv_files=None):
nav = amv_files.get_navigation()
#nav = GEOSNavigation(sub_lon=sub_lon)
match_dict = {}
keys = list(aeolus_dict.keys())
last_f_idx = -1
for key in keys:
#fname, ftime, f_idx = get_file_containing_time(key, amv_files_path, amv_file_duration, amv_source, band)
fname, ftime, f_idx = amv_files.get_file_containing_time(key)
if f_idx is None:
continue
......@@ -534,7 +532,6 @@ def create_amv_to_aeolus_match_file(aeolus_files_dir, amv_files_dir, outfile=Non
if amv_source == 'CARR':
amv_files = CarrStereo(amv_files_dir, 60, band)
#m_d = match_amvs_to_aeolus(a_d, amv_files_dir, amv_source, band)
m_d = match_amvs_to_aeolus(a_d, amv_files_dir, amv_source, band, amv_files)
if outfile is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment