runtraj.Simulation.failure#

property Simulation.failure: dict[str, Any] | None#

Why this simulation is not complete, as the worker recorded it, or None.

None when it is complete, or has not run, or what failed has since succeeded. Otherwise a dict with stage ("particles", or the variant’s other result type, for the transport model run, or the name of the stage that failed, such as "footprint"), reason (a short cause such as "MET_COVERAGE", or the error’s class when it has none), message, and time. An unexpected error also has a traceback. A failed transport model run fails every variant that shares its particles. Of several stages that failed, the first in the order they run is given. log reads the model’s log and kept_workdir is where its workdir was kept.

Examples

>>> sim.failure
{'stage': 'particles', 'reason': 'MET_COVERAGE',
 'message': 'HYSPLIT: start point not within (x,y,t) any data file', ...}