geovista.cache
#
Convenience functions to access, download and cache geovista
resources.
Notes
Added in version 0.1.0.
Package Contents#
Functions#
|
Control the |
|
Refresh the registry of the |
Attributes#
Base URL for |
|
Cache manager for |
|
The |
|
Environment variable to override |
|
Environment variable to override default |
|
Verbosity status of the |
|
The number of retry attempts to download a resource. |
- geovista.cache.pooch_mute(silent=True)[source]#
Control the
pooch
cache manager logger verbosity.Updates the status variable
GEOVISTA_POOCH_MUTE
.- Parameters:
Notes
Added in version 0.5.0.
- geovista.cache.reload_registry(fname=None)[source]#
Refresh the registry of the
CACHE
.See
pooch.Pooch.load_registry()
for more details.- Parameters:
Notes
Added in version 0.1.0.
- geovista.cache.BASE_URL: str = 'https://github.com/bjlittle/geovista-data/raw/{version}/assets/'#
Base URL for
geovista
resources.
- geovista.cache.CACHE: pooch.Pooch#
Cache manager for
geovista
resources.
- geovista.cache.DATA_VERSION: str = '2024.07.0'#
The
geovista-data
repository version forgeovista
resources.
- geovista.cache.GEOVISTA_CACHEDIR: str = 'GEOVISTA_CACHEDIR'#
Environment variable to override
pooch
cache manager path.
- geovista.cache.GEOVISTA_DATA_VERSION: str#
Environment variable to override default
DATA_VERSION
.