From 7d637dff04a66512042f8d10c450fdb1642a9181 Mon Sep 17 00:00:00 2001 From: Bill Ladwig Date: Thu, 9 Nov 2017 16:59:04 -0700 Subject: [PATCH] Sets cutoff point for Lambert Conformal so that southern hemisphere works. Fixes #31. --- src/wrf/projection.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/wrf/projection.py b/src/wrf/projection.py index f8b95d5..029bfa3 100644 --- a/src/wrf/projection.py +++ b/src/wrf/projection.py @@ -574,12 +574,16 @@ class LambertConformal(WrfProj): def _cartopy(self): if not cartopy_enabled(): return None - + + # Set cutoff to -30 for NH, +30.0 for SH. + cutoff = -30.0 if self.moad_cen_lat >= 0 else 30.0 + _cartopy = crs.LambertConformal( central_longitude = self.stand_lon, central_latitude = self.moad_cen_lat, standard_parallels = self._std_parallels, - globe = self._globe()) + globe = self._globe(), + cutoff = cutoff) return _cartopy