In HEC-RTS, scripts provide a way to automate the program for the purpose of executing a prescribed set of actions with a simple trigger. Scripting simplifies user operation, ensures repeatability and consistency of results, reduces time required to generate results, and permits schedules of an operation in the future. HEC-RTS uses the Jython scripting language. Jython is a special implementation of the Python scripting language that can interact with programs written in Java.
Some uses of scripting in HEC-RTS:
- Running an existing forecast with one or more alternatives with a single button click (replacing many mouse clicks with one).
- Creating a new forecast based on the current time and running it with one or more alternatives.
- Scheduling an action such as creating a new forecast to happen sometime in the future (possibly on a recurring basis).
- Work with a mixture of DSS files.