How to run a forward simulation using the results of an inversion#
After running an inversion, it may be useful, e.g. for evaluating the results, to run a forward simulation using the results of the inversion as inputs.
This is simply done from the yaml used for the inversion by:
changing the
WORKDIR
changing the mode to
forward
(and, for clarity’s sake, remove the arguments which are only useful for the inversion such as theminimizer
). Add the optional argumemntuse_xb: False
so that the output fiels are NOT created using the prior state.in controlvect, add optional arguments
reload_xb: True
andreload_file
to provide the path to the pickle file where the controlvects are stored. It probably is $WORKDIR_inversion/controlvect_final.pickle.change the components of the datavect which are not to be the same as in the inversion e.g. concs or satellites for comparing to other data than the assimilated ones.