From dfd2189ca21897bc4ae351fb7b26582f741d3a53 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 7 Sep 2021 16:41:41 -0500 Subject: [PATCH] snapshot... --- modules/util/lon_lat_grid.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/util/lon_lat_grid.py b/modules/util/lon_lat_grid.py index 1b4e65fa..d1a4e724 100644 --- a/modules/util/lon_lat_grid.py +++ b/modules/util/lon_lat_grid.py @@ -190,6 +190,8 @@ class LonLatGrid: return outv def check_inside(self, lon, lat): + if lon < 0: + lon += 360 return (self.lon_lo < lon < self.lon_hi) & (self.lat_lo < lat < self.lat_hi) -- GitLab