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.7.tar.gz (46.8 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.7-py3-none-any.whl (55.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rasqc-0.0.7.tar.gz
  • Upload date:
  • Size: 46.8 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.7.tar.gz
Algorithm Hash digest
SHA256 44360b8f838d3f136487e79907e01df513d682530d622bc7a8367ef3cd85ab9f
MD5 32b147a4ccc7392e691cf2ceaaa938fe
BLAKE2b-256 f05a671eae9ffadc17701553122a914a0f9bd8b44239d373c56eaec7e8ffe921

See more details on using hashes here.

Provenance

The following attestation bundles were made for rasqc-0.0.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: rasqc-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 55.4 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2d7bcf1d7cdfc7d9326cd04db657a062e65ff65ec6ab62098e8fa857f0076ef9
MD5 ea10f72b29ddca567e9a08959b332c53
BLAKE2b-256 25871d85acf3710f93a99f4d0f6877892c1f90c2cc9efd46a1cd63a6e05a5dad

See more details on using hashes here.

Provenance

The following attestation bundles were made for rasqc-0.0.7-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