A python package for baseflow separation
Project description
baseflow
An open-source Python package for baseflow separation 🔥
Figure Here
⚡ Usage
Install
pip install baseflow
Example
import baseflow
path = f'{baseflow._path}/example.csv'
Q, date = baseflow.load_streamflow(path)
b, KGEs = baseflow.separation(Q, date, area=276)
print(f'Best Method: {b.dtype.names[KGEs.argmax()]}')
Project Structure
The directory structure of baseflow looks like this:
├── methods <- implements for 12 baseflow separation methods
│
├── recession_analysis <- tools for estimating recession coefficiency
│
├── param_estimate <- backward and calibration approaches to estimate other parameters
│
├── comparison <- an evaluation criterion to comparison different methods
│
├── requirements.txt <- File for installing baseflow dependencies
│
└── README.md
📌 Todo
Nolinear reservoir assumption
- Implement the nolinear reservoir assumption from the paper
- Employ a time-varing recession coefficiency for baseflow separation
Applicable to other time scales
- The current version only applies to the daily scale
- The package needs to be updated to support hourly baseflow separation
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
baseflow-0.0.2.tar.gz
(10.8 kB
view hashes)
Built Distribution
baseflow-0.0.2-py3-none-any.whl
(14.1 kB
view hashes)