MCPcopy Create free account
hub / github.com/NCAR/wrf-python / _cartopy

Method _cartopy

src/wrf/projection.py:705–717  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

703 return _basemap
704
705 def _cartopy(self):
706 if not cartopy_enabled():
707 return None
708
709 if self._lat_ts == 0.0:
710 _cartopy = crs.Mercator(central_longitude=self._stand_lon,
711 globe=self._globe())
712 else:
713 _cartopy = MercatorWithLatTS(central_longitude=self._stand_lon,
714 latitude_true_scale=self._lat_ts,
715 globe=self._globe())
716
717 return _cartopy
718
719 def _proj4(self):
720

Callers

nothing calls this directly

Calls 3

cartopy_enabledFunction · 0.85
MercatorWithLatTSClass · 0.85
_globeMethod · 0.80

Tested by

no test coverage detected