stilt.storage.Storage#

class stilt.storage.Storage(project_dir: 'Path', output_dir: 'Path', store: 'Store', *, is_cloud_project: 'bool' = False) 'None'[source]#

STILT-aware output storage facade over a lower-level store backend.

Methods#

exists(sim_id, output_path)

Return whether one simulation output already exists durably.

load_config()

Load project config from the local project root or output storage.

load_receptors()

Load project receptors from output storage when available.

publish_config(config)

Persist config needed to reconstruct the project.

publish_receptors([receptors, source_path])

Persist receptor inputs needed to reconstruct the project.

publish_simulation(sim)

Publish one simulation's standard outputs.

receptor_source_path()

Return the best local path to output project receptors, if present.

resolve(sim_id, output_path)

Return a local path to a output when it exists.