Browse Source

Merge pull request #78 from EXWEXs/fix-77-mercatorwithlatts

Fix #77
lon0
Bill Ladwig 7 years ago committed by GitHub
parent
commit
683167f5ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/wrf/projection.py

4
src/wrf/projection.py

@ -78,6 +78,10 @@ if cartopy_enabled():
self._xlimits = tuple(xlimits) self._xlimits = tuple(xlimits)
self._ylimits = tuple(limits[..., 1]) self._ylimits = tuple(limits[..., 1])
# Compatibility with cartopy >= 0.17
self._x_limits = self._xlimits
self._y_limits = self._ylimits
self._threshold = np.diff(self.x_limits)[0] / 720 self._threshold = np.diff(self.x_limits)[0] / 720

Loading…
Cancel
Save