Skip to main content

Maintence of Variance Toolbox

Project description

DOI

Installation

pip install MOVE3

MOVE1

MOVE1 code reads directly from a HEC-DSS file.

https://github.com/danhamill/MOVE3/blob/2fce4a71c0758fc276b809f313bb04b2ed53c2ae/move3/test/test.py#L39-L68

Code is tested against an example provided by the USACE Hydrologic Engineering Center.

MOVE3

MOVE3 code read directly from a text file.

Code is tested aginst an example from Appendix 8 in Bulletin 17C.

Data are read from a csv format with the following format:

WY flow
1900 3000
1901 5000

There should be a individual files for short and long records. The files get merged into a single dataframe within the code. Example input is provided in data/

https://github.com/danhamill/MOVE3/blob/2fce4a71c0758fc276b809f313bb04b2ed53c2ae/move3/test/test.py#L88-L95

This application is designed to perform Bulletin 17C (England et al. 2019) record extension using MOVE.3 and MOVE.1 Methodologies.

There are three possible extension using the MOVE.3:

  1. Full N2 extension - This provides the longest possible short record extension. Be careful because this type of extension has the potential to be artificially long and could result in underestimation of uncertainty of the resulting flood frequency curve.
  2. ne (mean) extension - This provides extension based upon the variance of the mean.
  3. ne (variance extension) - This provides the shortest possible short record extension using the variance of variance. This type of extension is preferable when uncertainty is primary concern. Note: This is the preferred approach presented in Bulletin 17C

References

  • England, John F., Jr., Timothy A. Cohn, Beth A. Faber, Jery R. Stedinger, Wilbert O. Thomas Jr., Andrea G. Veilleux, Julie E. Kiang, and Robert R. Mason, Jr. 2019. “Guidelines for Determining Flood Flow Frequency—Bulletin 17C.” Techniques and Methods. US Geological Survey. https://doi.org/10.3133/tm4b5.

Requirements

Tested on python 3.9

  1. altair
  2. sklearn
  3. numpy
  4. pandas
  5. streamlit

To run app

Working dashboard for MOVE.3 streamflow record extension.

streamlit run move3\ui_move.py

To Test Algorthims

pytest -v move3\test\test.py

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

MOVE3-0.7.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

MOVE3-0.7-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file MOVE3-0.7.tar.gz.

File metadata

  • Download URL: MOVE3-0.7.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for MOVE3-0.7.tar.gz
Algorithm Hash digest
SHA256 f56560491ccc24eb1ee21efa21af0303345d908f64c73bf6dcfd351631ace78a
MD5 3a25f38a2821d92328d16b6d72825aa4
BLAKE2b-256 18e3ad1de7f4b03fa923d1517115147b656f0bcf3979a8c5bd139dd075ccc43f

See more details on using hashes here.

File details

Details for the file MOVE3-0.7-py3-none-any.whl.

File metadata

  • Download URL: MOVE3-0.7-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for MOVE3-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9b56b5319edc1524e2e9225275dae76c47cfcc899b8b53cdce0a0fbfc076d253
MD5 1876c26495b5757468273f3f63c846ab
BLAKE2b-256 82e7850cec42310568d1d24c32f9ba1d12c6705144343ba352c1651e5b2c80b4

See more details on using hashes here.

Supported by

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