neural_lam.datastore#

Datastore backends for loading and serving weather model data.

Submodules#

Package Contents#

neural_lam.datastore.init_datastore(datastore_kind, config_path)#

Instantiate a datastore based on its short-name identifier.

Parameters:
  • datastore_kind (str) – Key corresponding to one of DATASTORES.

  • config_path (str | pathlib.Path) – Path to the datastore-specific configuration file.

Returns:

Concrete datastore instance configured for config_path.

Return type:

BaseDatastore

Raises:

NotImplementedError – If datastore_kind is not registered.

neural_lam.datastore.DATASTORES#
neural_lam.datastore.DATASTORE_CLASSES#