Skip to content
Jeff Gregory edited this page Mar 16, 2022 · 20 revisions

rts-utils wiki

Getting started

Please note, script_downloader has been replaced by the new process below.

How to install:

  1. Copy the contents of rtsutils_init.py
  2. Create a new script in the CWMS CAVI/HEC-RTS called rtsutils_init
  3. Paste the contents of Step 1 into the new script, saving the script.
  4. Run rtsutils_init (recommend running with console output to in case of errors)

Upon successful setup completion, you should see the following:

Screen Shot 2022-03-16 at 11 04 27 AM

After restarting the CAVI, you should now have the following scripts available:

Screen Shot 2022-03-16 at 11 07 41 AM

How to update:

  • Initialization of the rtsutils package provides a script (rtsutils_update.py) to update changes in the rts-utils repo
  • Running rtsutils_update.py executes a Go implementation of git pull updating the local copy of any changes
  • The user is presented with a message dialog returning results but it is good practice to review the Console Output

Successful execution with repository up-to-date

2022/03/16 11:16:29 Service up: https://github.com
2022/03/16 11:16:29 Initiating 'git' command
2022/03/16 11:16:30 Repository already up-to-date

Script Documentation

Clone this wiki locally