From c1abffd745cdd932bc3904678a276ad25a527587 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 5 Jul 2022 20:25:35 -0500 Subject: [PATCH] fix some cf issues --- modules/amv/intercompare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/amv/intercompare.py b/modules/amv/intercompare.py index 1506d584..0e2a0c6b 100644 --- a/modules/amv/intercompare.py +++ b/modules/amv/intercompare.py @@ -1018,7 +1018,7 @@ def best_fit(amv_spd, amv_dir, amv_prs, amv_lat, amv_lon, fcst_spd, fcst_dir, fc print('AMV location lat,lon,prs ({0},{1},{2}) failed to find the min vector difference in layers around AMV'.format(amv_lat,amv_lon,amv_prs)) return bf_data - imin = imin[0][0] + imin = imin[0][0] # index of min vec diff in absolute coordinates # Use a parabolic fit to find the best-fit pressure. # p2 - Minimized model pressure at level imin (hPa) -- GitLab