A comprehensive Python toolkit for baseflow separation
Reason this release was yanked:
renamed to baseflowx
Project description
🌟 baseflow
baseflow is a Python package that provides a collection of functions for baseflow separation, which is the process of separating the baseflow component from the total streamflow.
This project is a copy of the baseflow repository , which implements various baseflow separation methods described in the paper by Xie et al. (2020): "Evaluation of typical methods for baseflow separation in the contiguous United States" (Journal of Hydrology, 583, 124628. https://doi.org/10.1016/j.jhydrol.2020.124628).
This project is funded by CIROH and aims to extend the functionality of the original baseflow package by adding new features and improvements. Our goal is to continuously enhance and maintain this package, keeping it up-to-date with the latest developments in baseflow separation techniques.
For detailed usage instructions and examples, please refer to the 📖 documentation 🔥.
⚡ Usage
Install
pip install baseflow
Example
import baseflow
import pandas as pd
df = pd.read_csv(baseflow.example, index_col=0)
df_sta = pd.DataFrame(data=[[30, -28.4, 659], [-109.4, 33, 1611]],
index=df.columns, columns=['lon', 'lat', 'area'])
dfs, df_kge = baseflow.separation(df, df_sta, return_kge=True)
print(f'Best Method:\n{df_kge.idxmax(axis=1)}')
🚀 Project Structure
The directory structure of baseflow looks like this:
├── methods <- implements for 12 baseflow separation methods
│
├── separation <- compute baseflow and compare different separation methods
│
├── param_estimate <- estimates recession coefficient & backward and calibration approaches to estimate other parameters
│
├── comparison <- an evaluation criterion to compare different
methods (KGE) & compute strict baseflow
│
└── utils <- helper functions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pybaseflow-0.1.0.tar.gz.
File metadata
- Download URL: pybaseflow-0.1.0.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b80a72149478810322dd3a81fd0a80e1dbe6f646ba5619a2155109fcbcc46de4
|
|
| MD5 |
e9dc6f430229740d1d8f9a35d95aaf33
|
|
| BLAKE2b-256 |
a147f2bc13c594aca45933f08d904c905be89ce41798b536e484d471d13c6311
|
File details
Details for the file pybaseflow-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pybaseflow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e723674300c98da9193f214d1a656fcaa100049975edf0e367d16d7a6451b606
|
|
| MD5 |
e3a7321843e71cae145dca425c552e28
|
|
| BLAKE2b-256 |
25ac5a029e7efa2d66359140e6ae7ea321f872252c397413afd803c22cf8b60e
|