From 4b3b13f69851cca359d22ee9f94d91911f42b314 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 3 Sep 2021 15:36:03 -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 1f47e5ef..8973cc5a 100644 --- a/modules/util/lon_lat_grid.py +++ b/modules/util/lon_lat_grid.py @@ -81,6 +81,8 @@ class LonLatGrid: if len(lons) == 0 or len(lats) == 0: return None, None + lons = np.where(lons < 0, lons + 360, lons) + lons = lons.flatten() lats = lats.flatten() -- GitLab