runtraj.models.run_model_many#
- runtraj.models.run_model_many(name, releases, config, met, workdir=None, timeout=None)[source]#
Run a batched transport model once for many releases, and finish each one’s particles.
The model’s one table is split by its
releasecolumn, and each release’s particles get the stepsrun_model()applies. A release whose particles are missing or fail those steps gets its error, and the others their runs.- Returns:
{release id: ModelRun}, or theSimulationErrorof a release that failed.- Return type:
- Raises:
SimulationError – If the whole call fails.
- Parameters: