pycif.plugins.models.lmdz_acc — API reference#

Configuration reference: lmdz_acc plugin

pycif.plugins.models.lmdz_acc.compile.make_command(self)[source]#
pycif.plugins.models.lmdz_acc.compile.compile(self)[source]#
pycif.plugins.models.lmdz_acc.flushrun.flushrun(self, rundir, mode, transform_id, full_flush=True)[source]#

Cleaning the simulation directories to limit space usage

pycif.plugins.models.lmdz_acc.ini_mapper.ini_mapper(model, transform_type, general_mapper={}, backup_comps={}, transforms_order=[], ref_transform='', transform_name='', **kwargs)[source]#
pycif.plugins.models.lmdz_acc.ini_periods.ini_periods(self, **kwargs)[source]#
pycif.plugins.models.lmdz_acc.perturb_model.append_attribute(plugin: Any, key: str, attr: Any) None[source]#
pycif.plugins.models.lmdz_acc.perturb_model.remove_attribute(plugin: Any, key: str) None[source]#
pycif.plugins.models.lmdz_acc.perturb_model.perturb_model(self, nsamples, transf_mapper)[source]#
pycif.plugins.models.lmdz_acc.run.run_dispersion(self, runsubdir)[source]#
pycif.plugins.models.lmdz_acc.run.run(self, runsubdir, mode, workdir, ddi, do_simu=True, approx_transf=False, ref_fwd_dir='', overlap=False, **kwargs)[source]#

Run LMDZ model in forward or adjoint mode

Parameters:
  • runsubdir (str) – working directory for the current run

  • mode (str) – forward or backward

  • workdir (str) – pycif working directory

  • do_simu (bool) – if False, considers that the simulation was already run

pycif.plugins.models.lmdz_acc.run.check_approx_threshold(self, ddi, mode, runsubdir)[source]#