Python implementation of the Water Table Fluctuation (WTF) Method
Project description
gwtf: Groundwater Table Fluctuation Method in Python
What is gwtf?
gwtf is an open-source Python package for estimating and analyzing groundwater recharge using the Water Table Fluctuation (WTF) method. The package provides tools for event extraction, recharge estimation, and uncertainty analysis, all in a user-friendly and extensible framework.
Code Example
import gwtf
wt = pd.read_csv("head.csv", parse_dates=["date"], index_col="date")
ml = wtf.Model(wt, name="Wagna", mcr=wtf.MCR())
ml.mcr.fit_mcr(wt)
r2= ml.estimate_recharge(rise_rule="rises", sy=0.15)
r.resample("YE").sum().plot(kind="bar", figsize=(10, 2))
Documentation & Examples
- Full documentation: gwtf.readthedocs.io
- Example notebooks:
examples/
Get in Touch
- Questions? Use GitHub Discussions
- Found a bug or want a feature? Open an issue
- Contributions are welcome! See
CONTRIBUTING.md
Quick Installation Guide
gwtf requires Python 3.9 or higher. We recommend using Anaconda for easy management of dependencies, but any other Python distribution should work. Check pyproject.toml for the dependencies on other Python packages.
Stable version
pip install gwtf
Update
pip install gwtf --upgrade
Development version
pip install git+https://github.com/raoulcollenteur/gwtf.git@main#egg=gwtf
How to cite gwtf
If you use gwtf in your research, please cite:
Collenteur, R.A. (2025). gwtf: Python implementation of the Water Table Fluctuation (WTF) Method. Zenodo. https://doi.org/10.5281/zenodo.XXXXXXX
License
gwtf is licensed under the GNU General Public License. See the LICENSE file for details.
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 gwtf-0.2.0.tar.gz.
File metadata
- Download URL: gwtf-0.2.0.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
092287f55d9fb8cb0b9c283955abf64c40cd39f9a99d533f9afef8192aa6651d
|
|
| MD5 |
5ab5b170f1cc55081e08df2d676e41ce
|
|
| BLAKE2b-256 |
af43c64ec8b9a09a8bbe0f8f8c664e8a6f3ce1ff6955610de120923b46aca3fd
|
Provenance
The following attestation bundles were made for gwtf-0.2.0.tar.gz:
Publisher:
python-publish.yml on raoulcollenteur/gwtf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gwtf-0.2.0.tar.gz -
Subject digest:
092287f55d9fb8cb0b9c283955abf64c40cd39f9a99d533f9afef8192aa6651d - Sigstore transparency entry: 649296508
- Sigstore integration time:
-
Permalink:
raoulcollenteur/gwtf@5b06e2d15acc8d5447ed2b209af2abf7120d2d4e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/raoulcollenteur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5b06e2d15acc8d5447ed2b209af2abf7120d2d4e -
Trigger Event:
release
-
Statement type:
File details
Details for the file gwtf-0.2.0-py3-none-any.whl.
File metadata
- Download URL: gwtf-0.2.0-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4b588d8524ff4363075141325b75c33c54ae6f233f979d3f970191d3f5527e7
|
|
| MD5 |
6cf6f5a6b66c54f60f9ab13e3003e662
|
|
| BLAKE2b-256 |
f25820a40dc2f7f7a4022aae91e93db1da0c1fc98e72e10c4d327dda1b0bf898
|
Provenance
The following attestation bundles were made for gwtf-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on raoulcollenteur/gwtf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gwtf-0.2.0-py3-none-any.whl -
Subject digest:
b4b588d8524ff4363075141325b75c33c54ae6f233f979d3f970191d3f5527e7 - Sigstore transparency entry: 649296537
- Sigstore integration time:
-
Permalink:
raoulcollenteur/gwtf@5b06e2d15acc8d5447ed2b209af2abf7120d2d4e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/raoulcollenteur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5b06e2d15acc8d5447ed2b209af2abf7120d2d4e -
Trigger Event:
release
-
Statement type: