Skip to main content

Finds natural flow regime type patterns in time series data .

Project description

hydropattern

Finds natural flow regimes type patterns in time series data.

Background

Natural flow regimes are widely used in water resources management. Learn more about natural flow regimes:

Poff, N. L., Allan, J. D., Bain, M. B., Karr, J. R., Prestegaard, K. L., Richter, B. D., Sparks, R. E., & Stromberg, J. C. (1997). The Natural Flow Regime. BioScience, 47(11), 769–784. https://doi.org/10.2307/1313099

The repository tends to use functional flows terminology. Functional flows are natural flow regimes linked to specific environmental processes. Learn more about functional flows:

Yarnell, S. M., Stein, E. D., Webb, J. A., Grantham, T., Lusardi, R. A., Zimmerman, J., Peek, R. A., Lane, B. A., Howard, J., & Sandoval-Solis, S. (2020). A functional flows approach to selecting ecologically relevant flow metrics for environmental flow applications. River Research and Applications, 36(2), 318-324. https://doi.org/10.1002/rra.3575 Note: Figure 2 and Table 2 are particularly helpful for understanding the natural flow regimes this program tracks.

Natural flow regimes can be adapted to classify hydrologic regimes in non-riverine environments, like lakes. They can be used to evaluate the alteration of natural hydrologic patterns. This program imagines their usage in climate impact studies.

Basic Terminology

To define a natural flow regime the following hierarchical labels must be defined:

Component: Natural flow regimes consist of one or more components.

Characteristic: Each component consists of one or more of the following characteristics.

  • Timing: when the hydrologic pattern occurs (i.e., wet season).
  • Magnitude: the size hydrologic pattern (i.e., flow, stage, etc.).
  • Duration: how long the hydrologic pattern persists (i.e., 7 days).
  • Frequency: how often the pattern occurs (i.e. in 1 out of every 5 years).
  • Rate of Change: change in the size of the hydrologic pattern (i.e., doubling of the previous day's flow).

Metric: A metric defines the truth value for each characteristic. For example, the magnitude of flow > 100.

Examples are provided below.

Basic Usage

The following inputs are required to parameterize the program:

  1. Hydrologic time series as a .csv file in the following format:
dates flows
datetime_t flow_t
datetime_t+1 flow_t+1
... ...
datetime_T flow_T
  1. TOML configuration file used to define natural flow regime components (and associated characteristics and metrics).
  2. Output file path.

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

hydropattern-0.0.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

hydropattern-0.0.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file hydropattern-0.0.0.tar.gz.

File metadata

  • Download URL: hydropattern-0.0.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for hydropattern-0.0.0.tar.gz
Algorithm Hash digest
SHA256 b28a22b6b653a7c3f7644aa2232feaeeea5092d1907534168deb0c0e494b3897
MD5 100b686f5e0a1b2e5a84bf582ff8b424
BLAKE2b-256 d1876a2689da1daef4dcf4274e865060393d84cbbce4bf2d484ce50f35d72e66

See more details on using hashes here.

File details

Details for the file hydropattern-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: hydropattern-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for hydropattern-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe18162fadbe9efa014ae8e1e9e45a070cc821cfa9dbc5948b9a0cf06df56290
MD5 ca254f395599cdd7b82671c2c6639183
BLAKE2b-256 80f2f419b21a6e3e2c47c30d6876bc668e529f39cb8c2ce27bbe00a5b9caf4c7

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