Source code for pycif.plugins.models.dalecbethy.io.outputs2native_adj
[docs]
def outputs2native_adj(
self, data2dump, input_type, di, df, runsubdir, mode="fwd",
onlyinit=False, do_simu=True, check_transforms=False, **kwargs
):
"""Save adjoint-forcing information for a later adjoint D&B call.
.. warning::
Not implemented: see the ``run.py`` TODO -- D&B's adjoint is not
yet wired to be driven step-by-step from pyCIF.
Args:
self: the dalecbethy model Plugin.
data2dump (dict): concentration/flux data for each component.
input_type (str): the type of model outputs to be processed.
di, df (datetime.datetime): start/end date of the present
sub-simulation.
runsubdir (str): path to the present sub-simulation work directory.
mode (str): running mode; one of "fwd", "tl" and "adj".
"""
if not (mode == "adj") or onlyinit:
return
raise NotImplementedError(
"dalecbethy: adjoint mode is not implemented yet, see run.py TODOs"
)