From d19e212da22f08d086b085bec06e9d83fcd18c43 Mon Sep 17 00:00:00 2001 From: Michaela Sizemore <43652875+michaelavs@users.noreply.github.com> Date: Wed, 9 Mar 2022 12:15:40 -0700 Subject: [PATCH] Update Mercator projection attributes (#163) * Update Mercator projection attributes * remove empty test_mercator file --- src/wrf/projection.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/wrf/projection.py b/src/wrf/projection.py index b2aca20..e169341 100644 --- a/src/wrf/projection.py +++ b/src/wrf/projection.py @@ -76,12 +76,9 @@ if cartopy_enabled(): else: xlimits[0] = -xlimits[0] - self._xlimits = tuple(xlimits) - self._ylimits = tuple(limits[..., 1]) - # Compatibility with cartopy >= 0.17 - self._x_limits = self._xlimits - self._y_limits = self._ylimits + self._x_limits = tuple(xlimits) + self._y_limits = tuple(limits[..., 1]) self._threshold = np.diff(self.x_limits)[0] / 720