From 505b6f54945fc09e25ca77a1a2fffa0364f055d6 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 2 Jun 2021 14:44:39 -0500 Subject: [PATCH] new methods --- modules/aeolus/aeolus_amv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py index da4db5ee..4157da7d 100644 --- a/modules/aeolus/aeolus_amv.py +++ b/modules/aeolus/aeolus_amv.py @@ -1453,7 +1453,7 @@ def match_aeolus_to_clavrx(aeolus_dict, clvrx_files): lon = prof[0, 1] cc, ll = nav.earth_to_lc(lon, lat) - if cc < 0: + if cc is None or ll is None: continue # c_rng, l_rng = get_search_box(nav, lon, lat) -- GitLab