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
WORKDIRchange the mode to
forward(and remove arguments that are only relevant for the inversion, such asminimizer). Add the optional argumentuse_xb: Falseso that output files are not generated from the prior state.in controlvect, add
reload_xb: Trueandreload_filepointing 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.