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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rasqc-0.0.5.tar.gz
  • Upload date:
  • Size: 38.4 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.5.tar.gz
Algorithm Hash digest
SHA256 022d134369f58e951d21ff830f75cae2a6b4de93303bd9ea8025d3e0a395194d
MD5 1981774eec929299e936b6b7e19c6ab3
BLAKE2b-256 97e655347c87cca36e7fdc4af763a93e6e5a6e7771f1bbf7dc16599510497886

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rasqc-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 44.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a466898035291208cc55992a55a5e4dd67c77ed726aa2ffb65369ab09a739c22
MD5 dd11fec73374518abb2fb079e48cda7c
BLAKE2b-256 bf0f851d53eee561eef0f833542e98ac5edf7c0dd53a410e0d1b25b29041131c

See more details on using hashes here.

Provenance

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