watchdog

During-run parser for error logs from parallel simulation runs.

This is the during-processing watchdog code to deal with the error logs in SIROCCO’s parallel mode. Very similar to py_error.py

usage and arguments:

python watchdog.py [-f folder] root root is the parameter files -f folder is the folder the diagfiles are in, defaults to diag_root

returns:

Error summary of ongoing run printed to screen

130722 JM Coding began – initial tests conducted successfully

Functions

help(flag)

help function for user

strip_error(s)

little routine which strips numerical digits from errors