Browse Source

Sets cutoff point for Lambert Conformal so that southern hemisphere works. Fixes #31.

lon0
Bill Ladwig 8 years ago
parent
commit
7d637dff04
  1. 6
      src/wrf/projection.py

6
src/wrf/projection.py

@ -575,11 +575,15 @@ class LambertConformal(WrfProj): @@ -575,11 +575,15 @@ class LambertConformal(WrfProj):
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

Loading…
Cancel
Save