geoschem / integrated_methane_inversion

Integrated Methane Inversion workflow repository.
https://imi.readthedocs.org
MIT License
25 stars 19 forks source link

Re-run capability for Jacobian simulations #188

Closed eastjames closed 4 months ago

eastjames commented 5 months ago

Name and Institution (Required)

Name: James East Institution: Harvard

Describe the update

This PR enables the capability to re-run Jacobian simulations that have failed without running all Jacobian simulations. It is enabled with a new config switch ReDoJacobian. If no Jacobian simulations have been run, and DoJacobian is true, then IMI runs the Jacobians like normal, submitting all Jacobian simulations, regardless of the value of ReDoJacobian. If one or more Jacobian simulations failed in a previous run, and both ReDoJacobian and DoJacobian are true, then only the failed Jacobians will re-run. If DoJacobian is false, then setting ReDoJacobian to true will have no effect.

eastjames commented 4 months ago

I tested it for Kalman mode and non-Kalman mode and it works for both