pip install baseflow
import baseflow
Q, date = baseflow.load_streamflow(baseflow.example)
b, KGEs = baseflow.separation(Q, date, area=276)
print(f'Best Method: {b.dtype.names[KGEs.argmax()]}')
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
- Implement the nolinear reservoir assumption from the paper
- Employ a time-varing recession coefficiency for baseflow separation
- The current version only applies to the daily scale
- The package needs to be updated to support hourly baseflow separation
- Xie, J., Liu, X., Wang, K., Yang, T., Liang, K., & Liu, C. (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