runtraj.models.flexpart.FlexpartModel.run#
- FlexpartModel.run(release, config, met, window, workdir=None, timeout=None)[source]#
Run FLEXPART for one release in workdir and return its particles.
- Raises:
MeteorologyError – Before FLEXPART runs, when the met files do not cover window or one between is missing.
SimulationError – With FLEXPART’s output in
log:reasonTIMEOUTwhen the run exceeded timeout seconds,EXIT_STATUSwhen FLEXPART stopped without finishing, andNO_PARTICLE_DATAwhen it finished but wrote no particle file.
- Return type:
ModelRun- Parameters: