jcm.dycore.registry

Name → factory registry for dynamical-core backends.

Backends register themselves at import time via the register_dycore() decorator. build_dycore() looks up a registered name and invokes the factory with the supplied kwargs. The v2.0 Hydra runner still constructs the shipped Dinosaur backend explicitly; the registry is currently used by Python-API integrations and tests.

The registry is deliberately minimal: it carries names and factories and nothing else. Anything that needs to vary per-backend (config schema, default kwargs, required imports) is the factory’s concern.

Functions

build_dycore(name, /, **kwargs)

Construct the dycore registered under name with kwargs.

list_dycores()

Return the names of all currently-registered dycore backends.

register_dycore(name)

Register a dycore factory under name.