diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py index 98ec7dcd8f1ce4f728aa01b874358aab1db4a5b5..f3995e8065798880f18d25cd56c6aa830cf40e74 100644 --- a/modules/aeolus/aeolus_amv.py +++ b/modules/aeolus/aeolus_amv.py @@ -17,9 +17,6 @@ first_time = True ftimes = [] flist = None -# G16_lon_range = [-130.0, -30.0] -# G16_lat_range = [-64.0, 64.0] - class MyGenericException(Exception): def __init__(self, message): @@ -252,13 +249,15 @@ amv_lon_name = 'Lon' amv_lat_name = 'Lat' amv_press_name = 'pres' # ------------------------------- +sub_lon = -137.0 # GOES-17 +#sub_lon = -75.0 # GOES-16 # aeolus_dict: time -> profiles # amv_files_path: directory containing AMVs, '/home/user/amvdir/' # 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'): - nav = GEOSNavigation() + nav = GEOSNavigation(sub_lon=sub_lon) match_dict = {} keys = list(aeolus_dict.keys()) @@ -275,12 +274,6 @@ def match_amvs_to_aeolus(aeolus_dict, amv_files_path, amv_source='OPS', band='14 lat = layers[0, 0] lon = layers[0, 1] - # check range - # if lat > G16_lat_range[1] or lat < G16_lat_range[0]: - # continue - # if lon > G16_lon_range[1] or lon < G16_lon_range[0]: - # continue - # ------------------------------------------------ c_rng, l_rng = get_search_box(nav, lon, lat) if c_rng is None: