Skip to content
Snippets Groups Projects
Commit ce8112b1 authored by tomrink's avatar tomrink
Browse files

minor

parent 3a380b87
No related branches found
No related tags found
No related merge requests found
......@@ -67,14 +67,16 @@ def get_amvs(amv_ds, timestamp, filepath=None):
# raob_dict: (lat,lon) -> profiles
# raob_time: nominal time
# amv_ds: AMV data source
# time_window: (minutes)
# filepath (RAOB)
# return dict: raob -> tuple (amv_lon, amv_lat, elem, line, amv_pres, amv_spd, amv_dir)
def match_amvs_to_raobs(raob_dict, raob_time, amv_ds, filepath=None):
def match_amvs_to_raobs(raob_dict, raob_time, amv_ds, time_window=10, filepath=None):
nav = amv_ds.get_navigation()
amv_params = amv_ds.get_parameters()
match_dict = {}
if filepath is None:
filepath, ftime, f_idx = amv_ds.get_file(raob_time)
filepath, ftime, f_idx = amv_ds.get_file(raob_time, window=time_window)
if filepath is None:
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment