* ``downloaders`` - a dictionary mapping standard "specifications" to the appropriate :class:`~cartopy.io.Downloader`. For further documentation and an example see :func:`cartopy.io.Downloader.from_config`. """ # n.b. docstring changes should be propagated to docs/source/cartopy.rst del _data_dir del _writable_dir # Try importing a siteconfig file which exposes an update_config function, # otherwise, fail gracefully. try: from cartopy.siteconfig import update_config as _update_config _update_config(config) except ImportError: pass # Try importing a cartopy_userconfig file which exposes an update_config # function, otherwise, fail gracefully. try: from cartopy_userconfig import update_config as _update_config _update_config(config) except ImportError: pass # Commonly used sub-modules. Imported here to provide end-user # convenience.
* ``downloaders`` - a dictionary mapping standard "specifications" to the appropriate :class:`~cartopy.io.Downloader`. For further documentation and an example see :func:`cartopy.io.Downloader.from_config`. """ # n.b. docstring changes should be propagated to docs/source/cartopy.rst del _data_dir del _writable_dir # Try importing a siteconfig file which exposes an update_config function, # otherwise, fail gracefully. try: from cartopy.siteconfig import update_config as _update_config _update_config(config) except ImportError: pass # Try importing a cartopy_userconfig file which exposes an update_config # function, otherwise, fail gracefully. try: from cartopy_userconfig import update_config as _update_config _update_config(config) except ImportError: pass # Commonly used sub-modules. Imported here to provide end-user # convenience. import cartopy.crs import cartopy.feature