stilt.transport.hysplit.run_hycs_std#
- stilt.transport.hysplit.run_hycs_std(workdir, timeout=None)[source]#
Run the
hycs_stdin workdir, writing its output tostilt.log.workdir holds the inputs
write_inputs()wrote. With timeout seconds the run is stopped when it takes longer; without it, it may run as long as HYSPLIT does. If this process is interrupted while it waits (KeyboardInterruptorSystemExit), the run is stopped too.- Raises:
SimulationError – With
reasonTIMEOUTwhen the run exceeded timeout seconds, theFailureReasonof a known failure message in the log or HYSPLIT’sWARNINGfile, such asno more meteorology(MET_COVERAGE), orEXIT_STATUSwhenhycs_stdended with a non-zero exit status or was killed by a signal, such as the kernel’s out-of-memory killer, and the log has no known message. Its log then ends with the last lines of HYSPLIT’sMESSAGEfile. Particles that all left the met’s domain are not a failure.- Return type:
- Parameters: