load_nasa9_if_needed#
- exo_skryer.build_chem.load_nasa9_if_needed(cfg: Any, exp_dir: Path) None[source]#
Load NASA-9 thermo coefficients if RateJAX chemistry requires it.
This function checks if the configured chemistry scheme requires Gibbs free energy data (RateJAX chemical equilibrium modes) and loads the NASA-9 tables if needed. If data is already loaded or not required, it returns immediately.
- Parameters:
- cfgconfig object
Parsed YAML configuration object with
cfg.physics.vert_chemattribute.- exp_dir
Path Experiment directory used to resolve relative paths to NASA-9 data.