Skip to content

Commit d19e212

Browse files
authored
Update Mercator projection attributes (NCAR#163)
* Update Mercator projection attributes * remove empty test_mercator file
1 parent 9a812e0 commit d19e212

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/wrf/projection.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,9 @@ def __init__(self, central_longitude=0.0,
7676
else:
7777
xlimits[0] = -xlimits[0]
7878

79-
self._xlimits = tuple(xlimits)
80-
self._ylimits = tuple(limits[..., 1])
81-
8279
# Compatibility with cartopy >= 0.17
83-
self._x_limits = self._xlimits
84-
self._y_limits = self._ylimits
80+
self._x_limits = tuple(xlimits)
81+
self._y_limits = tuple(limits[..., 1])
8582

8683
self._threshold = np.diff(self.x_limits)[0] / 720
8784

0 commit comments

Comments
 (0)