slv.inversion.cache#

Content-addressed cache for the inversion pipeline’s components.

Each component (obs, prior, forward operator, …) is pickled under {cache}/.fips/{version tag}/{component}/{hash}.pkl: the tag pins the fips + pystilt source revision and the hash covers only the config fields that component depends on.

Attributes

DEFAULT_COMPONENT_DEPS

Default mapping of pipeline component → config fields that affect it.

DEFAULT_COMPONENT_PACKAGES

Packages whose release each component also keys on, beyond fips + pystilt (which are in the version tag).

DEFAULT_COMPONENT_REVISIONS

bumped when slv changes what it builds for the same config, so a file cached before the change is not read as the new kind.

Functions

fips_cache

Content-addressed cache decorator for the pipeline's component functions.