init_atmodeller_if_needed#

exo_skryer.build_chem.init_atmodeller_if_needed(cfg: Any, exp_dir: Path) None[source]#

Initialise the global atmodeller EquilibriumModel if required.

Reads atmodeller.species_network from the YAML config and builds the cached EquilibriumModel instance. If the cache is already loaded, or the active chemistry scheme is not 'atmodeller', returns immediately.

Parameters:
cfgconfig object

Parsed YAML configuration object with cfg.physics.vert_chem and cfg.atmodeller.species_network attributes.

exp_dirPath

Experiment directory (unused; kept for API symmetry with load_nasa9_if_needed()).