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

minor...

parent 503de530
Branches
No related tags found
No related merge requests found
...@@ -988,7 +988,7 @@ def best_fit(amv_spd, amv_dir, amv_prs, amv_lat, amv_lon, fcst_spd, fcst_dir, fc ...@@ -988,7 +988,7 @@ def best_fit(amv_spd, amv_dir, amv_prs, amv_lat, amv_lon, fcst_spd, fcst_dir, fc
PressMin = max((amv_prs-PressDiff), TopPress) PressMin = max((amv_prs-PressDiff), TopPress)
# 1d array of indicies to consider for best fit location # 1d array of indicies to consider for best fit location
kk = np.where((fcst_prs<PressMax) & (fcst_prs>PressMin)) kk = np.where((fcst_prs < PressMax) & (fcst_prs > PressMin))
if len(kk[0]) == 0: if len(kk[0]) == 0:
if verbose: if verbose:
print('AMV location lat,lon,prs ({0},{1},{2}) failed to find fcst prs around AMV'.format(amv_lat,amv_lon,amv_prs)) print('AMV location lat,lon,prs ({0},{1},{2}) failed to find fcst prs around AMV'.format(amv_lat,amv_lon,amv_prs))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment