Skip to main content

Automated QA/QC for HEC-RAS Models.

Project description

rasqc

Automated QA/QC checks on HEC-RAS models.

Pronunciation: raz·kju·si

Developer Setup

Create a virtual environment in the project directory:

$ python -m venv venv-rasqc

Activate the virtual environment:

# For macOS/Linux
$ source ./venv-rasqc/bin/activate
# For Windows
$ ./venv-rashdf/Scripts/activate

Install dev dependencies:

(venv-rasqc) $ pip install ".[dev]"

Code Formatting

(venv-rasqc) $ ruff format

Unit Testing

(venv-rasqc) $ pytest

Run

(venv-rasqc) $ python -m rasqc.cli --help

Build Console App

(venv-rasqc) $ pyinstaller "./rasqc/cli.py" --name rasqc --onefile --collect-all pyogrio --add-data "./rasqc/template.html:./rasqc"

CLI

The rasqc command-line interface allows export directly to a variety of formats.

$ & "rasqc.exe" ras_model [--checksuite] [--theme] [<options$]

CLI help:

$ & "rasqc.exe" --help

Example: run the "ble" checksuite and write output files to the disk ({model root folder}/rasqc):

$ & "rasqc.exe" "Muncie.prj" --checksuite ble --files

Example: run the "ble" checksuite and write results to stdout:

$ & "rasqc.exe" "Muncie.prj" --checksuite ble

Example: run the "ble" checksuite, print results as GeoJSON, and return a dict of results:

$ & "rasqc.exe" "Muncie.prj" --checksuite ble --json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rasqc-0.0.6.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rasqc-0.0.6-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

Details for the file rasqc-0.0.6.tar.gz.

File metadata

  • Download URL: rasqc-0.0.6.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rasqc-0.0.6.tar.gz
Algorithm Hash digest
SHA256 3bb5e95fad6df89a93b97ff6bbc9e454f8ee6bb639b2d98a29cd47b750d5dae2
MD5 22d5afdbefa0ac758724e45b3b024f8d
BLAKE2b-256 2589d19b2aea84df4f104a8c816a9a32a4d547f04cc89c2bbdd69c1bb013ec72

See more details on using hashes here.

Provenance

The following attestation bundles were made for rasqc-0.0.6.tar.gz:

Publisher: release.yml on fema-ffrd/rasqc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rasqc-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: rasqc-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 46.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rasqc-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0f5a5bbabc3f3d0bf7ed2cb02867849f5757c48675fba50e48a7339c17522375
MD5 bc86a47173827ab51a7aba2ada1a926d
BLAKE2b-256 a682ae67d2d6e5ab02f2111a6e7d3edd919eb089332300f02fbfedc0f1b6c759

See more details on using hashes here.

Provenance

The following attestation bundles were made for rasqc-0.0.6-py3-none-any.whl:

Publisher: release.yml on fema-ffrd/rasqc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page