bcgov / nr-hydrometric-rating-curve

A hydrometric rating curve describes the mathematical relationship between stage and discharge. The rating curve app allows users to upload any stage and discharge datasets, develop and optimize rating models as well as save and compare results from previous sessions.
Apache License 2.0
2 stars 0 forks source link
bcgov docker environment openshift openshift4 python

Analysis Merge Release Scheduled

Issues Pull Requests MIT License Lifecycle:Maturing

Hydrometric Rating Application (HydRA)

Intro

A hydrometric rating curve describes the mathematical relationship between stage and discharge for a given hydrometric station. Rating curves allow to convert stage measurements to discharge measurements based on previously measured stage and discharge data pairs. The Hydrometric Rating Application (HydRA) allows users to upload any stage and discharge datasets, develop and optimize rating models as well as save and compare results from previous sessions.

The HydRA app is hosted in the BC Gov GitHub organization and is available here. This repository contains all source code for the HydRA app and allows to run the app locally using docker.

Managing the app packages

After cloning the repository, use the poetry python package manager to install the dependencies by running poetry install from the frontend directory. To update the dependencies, run poetry update or edit the pyproject.toml file.

Running the app locally

Running tests locally

To run Django tests, it is easiest to build the Docker container and attach to the running shell. The command python manage.py test executes the tests in Django.

Contributing Authors

NHC (Tyler De Jong, Tobias Müller), ENV X