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

Method cartopy

src/wrf/projection.py:408–425  ·  view source on GitHub ↗

Return a :class:`cartopy.crs.Projection` subclass for the map projection. Returns: :class:`cartopy.crs.Projection`: A Projection subclass for the map projection. See Also: :class:`cartopy.crs.Projection`

(self)

Source from the content-addressed store, hash-verified

406 return self._basemap(geobounds, **kwargs)
407
408 def cartopy(self):
409 """Return a :class:`cartopy.crs.Projection` subclass for the
410 map projection.
411
412 Returns:
413
414 :class:`cartopy.crs.Projection`: A Projection subclass for the
415 map projection.
416
417 See Also:
418
419 :class:`cartopy.crs.Projection`
420
421 """
422 if not cartopy_enabled():
423 raise RuntimeError("'cartopy' is not "
424 "installed or is disabled")
425 return self._cartopy()
426
427 def pyngl(self, geobounds, **kwargs):
428 """Return a :class:`Ngl.Resources` object for the map projection.

Callers 2

make_testFunction · 0.80
_get_proj_objFunction · 0.80

Calls 2

_cartopyMethod · 0.95
cartopy_enabledFunction · 0.85

Tested by 1

make_testFunction · 0.64