eradiate.data

eradiate.data#

Manage Eradiate’s data files.

Functions#

init_data_store([offline, production])

Initialize the global data store.

open_dataset(filename, **kwargs)

Open a dataset from the online data store (requires Internet access).

load_dataset(*args, **kwargs)

Open, load into memory, and close a dataset from the online data store (requires Internet access).

Classes#

DataStore()

Interface class for all data stores.

BlindDirectoryDataStore(path)

Serve files stored in a directory.

BlindOnlineDataStore(base_url, path)

Serve data downloaded from a remote source without integrity check.

SafeDirectoryDataStore(path[, registry_fname])

Serve files stored in a directory.

SafeOnlineDataStore(base_url, path[, ...])

Serve files located online, with integrity check.

MultiDataStore([stores])

Chain requests on multiple data stores.

Attributes#

eradiate.data.data_store#

Global data store. Alias to eradiate.data._store.data_store. See also: eradiate.data.MultiDataStore.