Source code for pycif.plugins.models.dalecbethy.io.native2inputs_adj
[docs]
def native2inputs_adj(
self, datastore, input_type, datei, datef, runsubdir, mode="fwd",
check_transforms=False,
**kwargs
):
"""Read adjoint sensitivities and format them to pyCIF data format.
.. warning::
Not implemented: D&B's adjoint (``src/cost_bw.f90``) is currently
only wired to D&B's own internal minimiser (``make xassi``, see
the TODO in ``run.py``), not to a pyCIF-driven adjoint run. There
is therefore nothing to convert here yet.
Args:
self: the dalecbethy model Plugin.
input_type (str): component name.
datastore: data to convert.
datei, datef: date interval of the sub-simulation.
mode (str): running mode: one of 'fwd', 'adj' and 'tl'.
runsubdir (str): sub-directory for the current simulation.
"""
return