pycif.plugins.models.chimere_acc — API reference#
Configuration reference: chimere_acc plugin
- pycif.plugins.models.chimere_acc.compile.compile(self)[source]#
Compile or copy CHIMERE-ACC executables into the CIF work directory.
Two strategies (tried in order):
Copy from pre-compiled cache — copies
fwdchimere.e,tlchimere.e, andachimere.efromself.direxecinto{self.workdir}/model/. Skipped ifforce-recompileis set.Full recompile — runs
makeinside the CHIMERE-ACC source tree (self.dirsrc).
- Parameters:
self – CHIMERE-ACC model plugin instance with
workdir,direxec, anddirsrcset.
- pycif.plugins.models.chimere_acc.run.run(self, runsubdir, mode, workdir, ddi, nbproc=1, do_simu=True, approx_transf=False, ref_fwd_dir='', overlap=False, **kwargs)[source]#
Run the CHIMERE model in forward mode
- Parameters:
self – the model Plugin
runsubdir (str) – working directory for the current run
mode (str) – forward or backward
workdir (str) – pyCIF working directory
do_simu (bool) – re-run or not existing simulation