Automated QA/QC checks on HEC-RAS models.
Pronunciation: raz·kju·si
Create a virtual environment in the project directory:
$ python -m venv venv-rasqcActivate the virtual environment:
# For macOS/Linux
$ source ./venv-rasqc/bin/activate# For Windows
$ ./venv-rashdf/Scripts/activateInstall dev dependencies:
(venv-rasqc) $ pip install ".[dev]"(venv-rasqc) $ ruff format(venv-rasqc) $ pytest(venv-rasqc) $ python -m rasqc.cli --help(venv-rasqc) $ pyinstaller "./rasqc/cli.py" --name rasqc --onefile --collect-all pyogrio --add-data "./rasqc/template.html:./rasqc"The rasqc command-line interface allows export directly to a variety of formats.
$ & "rasqc.exe" ras_model [--checksuite] [--theme] [<options$]CLI help:
$ & "rasqc.exe" --helpExample: run the "ble" checksuite and write output files to the disk ({model root folder}/rasqc):
$ & "rasqc.exe" "Muncie.prj" --checksuite ble --filesExample: run the "ble" checksuite and write results to stdout:
$ & "rasqc.exe" "Muncie.prj" --checksuite bleExample: run the "ble" checksuite, print results as GeoJSON, and return a dict of results:
$ & "rasqc.exe" "Muncie.prj" --checksuite ble --json