From 0da0af61a18c36b8328395f4978c507ec25a2fbe Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sun, 18 Oct 2020 13:44:32 -0500
Subject: [PATCH] snapshot...

---
 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 0f23e8bb..d6b597c3 100644
--- a/modules/amv/intercompare.py
+++ b/modules/amv/intercompare.py
@@ -1144,7 +1144,7 @@ def best_fit_altitude(amv_spd, amv_dir, amv_alt, amv_lat, amv_lon, fcst_spd, fcs
     if good_constraint == 1:
         bf_tup = (sat_wind_best_fit_u, sat_wind_best_fit_v, sat_wind_best_fit_alt, 0)
     else:
-        bf_tup = (None, None, None, flag)
+        bf_tup = (np.nan, np.nan, np.nan, flag)
 
     if verbose:
         print('*** AMV best-fit ***')
-- 
GitLab