How to run a forward simulation using the results of an inversion

How to run a forward simulation using the results of an inversion#

After running an inversion, it can be useful — for example to evaluate the results — to run a forward simulation using the inversion output as input.

This is done by modifying the inversion YAML as follows:

  • change WORKDIR

  • change the mode to forward (and remove arguments that are only relevant for the inversion, such as minimizer). Add the optional argument use_xb: False so that output files are not generated from the prior state.

  • in controlvect, add reload_xb: True and reload_file pointing to the pickle file storing the control vectors, typically $WORKDIR_inversion/controlvect_final.pickle.

  • update datavect components as needed, for example concs or satellites to compare against observations that were not assimilated.