Pastas
An open-source Python framework for the analysis of groundwater time series.
https://github.com/pastas/pastas
Category: Hydrosphere
Sub Category: Freshwater and Hydrology
Keywords
analysis groundwater hydrology pastas python timeseries
Keywords from Contributors
modflow geopandas groundwater-modelling data-management flopy hydrogeology arctic research mesh hydrological-modelling
Last synced: about 13 hours ago
JSON representation
Repository metadata
Pastas is an open-source Python framework for the analysis of groundwater time series.
- Host: GitHub
- URL: https://github.com/pastas/pastas
- Owner: pastas
- License: mit
- Created: 2016-04-15T07:29:20.000Z (about 9 years ago)
- Default Branch: dev
- Last Pushed: 2025-04-17T12:37:57.000Z (10 days ago)
- Last Synced: 2025-04-21T11:07:53.373Z (6 days ago)
- Topics: analysis, groundwater, hydrology, pastas, python, timeseries
- Language: Python
- Homepage: https://pastas.readthedocs.io
- Size: 143 MB
- Stars: 385
- Watchers: 15
- Forks: 91
- Open Issues: 46
- Releases: 39
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Zenodo: .zenodo.json
README.md
Pastas: Analysis of Groundwater Time Series
[!IMPORTANT]
As of Pastas 1.5, noisemodels are not added to the Pastas models by default anymore. Read more about this change here.
Pastas: what is it?
Pastas is an open source python package for processing, simulating and
analyzing groundwater time series. The object oriented structure allows
for the quick implementation of new model components. Time series models
can be created, calibrated, and analysed with just a few lines of python
code with the built-in optimization, visualisation, and statistical
analysis tools.
Documentation & Examples
- Documentation is provided on the dedicated website
pastas.dev - Examples can be found on the examples directory on the
documentation website - A list of publications that use Pastas is available in a
dedicated Zotero group - View and edit the example notebooks of Pastas in
GitHub Codespaces)
Get in Touch
- Questions on Pastas can be asked and answered on Github
Discussions. - Bugs, feature requests and other improvements can be posted as
Github Issues. - Pull requests will only be accepted on the development branch (dev)
of this repository. Please take a look at the developers
section on the documentation website
for more information on how to contribute to Pastas.
Quick installation guide
To install Pastas, a working version of Python 3.9, 3.10, 3.11, or 3.12
has to be installed on your computer. We recommend using the Anaconda
Distribution as it includes most of
the python package dependencies and the Jupyter Notebook software to run
the notebooks. However, you are free to install any Python distribution
you want.
Stable version
To get the latest stable version, use:
pip install pastas
Update
To update pastas, use:
pip install pastas --upgrade
Developers
To get the latest development version, use:
pip install git+https://github.com/pastas/pastas.git@dev#egg=pastas
Related packages
- Pastastore is a Python
package for managing multiple timeseries and pastas models - Metran is a Python package to
perform multivariate timeseries analysis using a technique called
dynamic factor modelling. - Hydropandas
can be used to obtain Dutch timeseries (KNMI, Dinoloket, ..) - PyEt can be used to compute
potential evaporation from meteorological variables.
Dependencies
Pastas depends on a number of Python packages, of which all of the
necessary are automatically installed when using the pip install
manager. To summarize, the dependencies necessary for a minimal function
installation of Pastas
- numpy>=1.7
- matplotlib>=3.1
- pandas>=1.1
- scipy>=1.8
- numba>=0.51
To install the most important optional dependencies (solver LmFit and
function visualisation Latexify) at the same time with Pastas use:
pip install pastas[full]
or for the development version use:
pip install git+https://github.com/pastas/pastas.git@dev#egg=pastas[full]
How to Cite Pastas?
If you use Pastas in one of your studies, please cite the Pastas article
in Groundwater:
- Collenteur, R.A., Bakker, M., Caljé, R., Klop, S.A., Schaars, F.
(2019) Pastas: open source software for the analysis of groundwater
time
series.
Groundwater. doi: 10.1111/gwat.12925.
To cite a specific version of Pastas, you can use the DOI provided for
each official release (>0.9.7) through Zenodo. Click on the link to get
a specific version and DOI, depending on the Pastas version.
- Collenteur, R., Bakker, M., Caljé, R. & Schaars, F. (XXXX). Pastas:
open-source software for time series analysis in hydrology (Version
X.X.X). Zenodo. http://doi.org/10.5281/zenodo.1465866
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Collenteur" given-names: "R.A." - family-names: "Bakker" given-names: "M" - family-names: "Caljé" given-names: "R" - family-names: "Schaars" given-names: "F" title: "Pastas: open-source software for the analysis of hydrogeological time series" version: 0.22.0 doi: 10.5281/zenodo.1465866 date-released: 2022-08-02 url: "https://github.com/pastas/pastas" preferred-citation: type: article authors: - family-names: "Collenteur" given-names: "R.A." orcid: "https://orcid.org/0000-0001-7843-1538" - family-names: "Caljé" given-names: "R" - family-names: "Klop" given-names: "S.A." - family-names: "Schaars" given-names: "F" - family-names: "Bakker" given-names: "M" orcid: "https://orcid.org/0000-0002-5629-2861" doi: "10.1111/gwat.12925" journal: "Groundwater" month: 7 title: "Pastas: open source software for the analysis of groundwater time series" volume: 57 year: 2019
Owner metadata
- Name: Pastas
- Login: pastas
- Email:
- Kind: organization
- Description: This organization holds the open source python package Pastas
- Website: https://pastas.readthedocs.io/en/latest/
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/18461359?v=4
- Repositories: 4
- Last ynced at: 2023-03-04T15:04:21.508Z
- Profile URL: https://github.com/pastas
GitHub Events
Total
- Create event: 34
- Release event: 2
- Issues event: 85
- Watch event: 19
- Delete event: 26
- Issue comment event: 235
- Push event: 203
- Pull request review event: 110
- Pull request review comment event: 61
- Pull request event: 90
- Fork event: 18
Last Year
- Create event: 34
- Release event: 2
- Issues event: 85
- Watch event: 19
- Delete event: 26
- Issue comment event: 235
- Push event: 203
- Pull request review event: 110
- Pull request review comment event: 61
- Pull request event: 90
- Fork event: 18
Committers metadata
Last synced: 4 days ago
Total Commits: 2,336
Total Committers: 23
Avg Commits per committer: 101.565
Development Distribution Score (DDS): 0.494
Commits in past year: 188
Committers in past year: 15
Avg Commits per committer in past year: 12.533
Development Distribution Score (DDS) in past year: 0.702
Name | Commits | |
---|---|---|
Raoul Collenteur | r****r@g****m | 1183 |
Ruben Caljé | r****e@a****l | 410 |
dbrakenhoff | d****f@a****l | 341 |
Martin Vonk | v****t@g****m | 185 |
Mark Bakker | m****k@g****m | 134 |
OnnoEbbens | o****s@g****m | 20 |
wjz | w****k@t****l | 15 |
gwtsa | m****r@t****l | 9 |
tomvansteijn | t****n@r****m | 9 |
saklop | 4****p | 7 |
Steijn van | s****1@b****l | 6 |
Mike Taves | m****s@g****m | 4 |
Aviad | a****7@g****m | 2 |
Willem Zaadnoordijk | w****m@y****k | 2 |
AnneDeGraaf | 2****f | 1 |
Aviad Avraham | a****m@m****m | 1 |
Bas des Tombe | b****e@g****m | 1 |
DC Slagel | d****s@m****g | 1 |
Eit Van der Meulen | a****o@a****m | 1 |
Govert Alkemade | 3****e | 1 |
Nicole | 1****m | 1 |
The Codacy Badger | b****r@c****m | 1 |
pgraafstra | 4****a | 1 |
Committer domains:
- artesia-water.nl: 2
- codacy.com: 1
- amo-nl.com: 1
- mailworks.org: 1
- munisense.com: 1
- yahoo.co.uk: 1
- rhdhv.com: 1
- tudelft.nl: 1
- tno.nl: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 453
Total pull requests: 429
Average time to close issues: 4 months
Average time to close pull requests: 13 days
Total issue authors: 33
Total pull request authors: 28
Average comments per issue: 2.62
Average comments per pull request: 2.34
Merged pull request: 368
Bot issues: 0
Bot pull requests: 0
Past year issues: 104
Past year pull requests: 111
Past year average time to close issues: 27 days
Past year average time to close pull requests: 8 days
Past year issue authors: 18
Past year pull request authors: 16
Past year average comments per issue: 1.58
Past year average comments per pull request: 2.61
Past year merged pull request: 93
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- raoulcollenteur (184)
- dbrakenhoff (68)
- mbakker7 (61)
- martinvonk (52)
- rubencalje (21)
- OnnoEbbens (12)
- tomvansteijn (11)
- wjzRdam (4)
- tdmeij (4)
- HenrikSpa (4)
- AnneDeGraaf (4)
- quanerpython (3)
- AviadAvr (3)
- darigovresearch (2)
- MicroMilo (2)
Top Pull Request Authors
- raoulcollenteur (172)
- martinvonk (85)
- dbrakenhoff (82)
- rubencalje (26)
- OnnoEbbens (21)
- tomvansteijn (8)
- mbakker7 (5)
- AviadAvr (2)
- nicolesullivam (2)
- saklop (2)
- Camu-git (2)
- GovertAlkemade (2)
- pastas (2)
- mwtoews (2)
- wjzRdam (2)
Top Issue Labels
- enhancement (174)
- bug (129)
- development (54)
- documentation (44)
- priority 1 (32)
- good-first-issue (22)
- priority 2 (21)
- wontfix (15)
- code quality (12)
- deprecation (11)
- question (10)
- priority 0 (8)
- help wanted (7)
- NWO (7)
- duplicate (1)
Top Pull Request Labels
- enhancement (101)
- bug (53)
- development (43)
- documentation (42)
- code quality (39)
- deprecation (16)
- priority 0 (4)
- help wanted (1)
- good-first-issue (1)
- priority 1 (1)
Package metadata
- Total packages: 3
-
Total downloads:
- pypi: 3,466 last-month
- Total dependent packages: 4 (may contain duplicates)
- Total dependent repositories: 4 (may contain duplicates)
- Total versions: 90
- Total maintainers: 1
pypi.org: pastas
Pastas is an open-source Python framework for the analysis of groundwater time series.
- Homepage:
- Documentation: https://pastas.readthedocs.io/
- Licenses: The MIT License (MIT) Copyright (c) 2016-2024 R.A. Collenteur, M. Bakker, R. Calje, F. Schaars Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- Latest release: 1.9.0 (published about 2 months ago)
- Last Synced: 2025-04-25T13:06:18.889Z (1 day ago)
- Versions: 41
- Dependent Packages: 4
- Dependent Repositories: 4
- Downloads: 3,466 Last month
-
Rankings:
- Dependent packages count: 2.353%
- Average: 6.611%
- Dependent repos count: 7.51%
- Downloads: 9.97%
- Maintainers (1)
proxy.golang.org: github.com/pastas/pastas
- Homepage:
- Documentation: https://pkg.go.dev/github.com/pastas/pastas#section-documentation
- Licenses: mit
- Latest release: v1.9.0 (published about 2 months ago)
- Last Synced: 2025-04-25T13:06:19.157Z (1 day ago)
- Versions: 37
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.521%
- Average: 6.74%
- Dependent repos count: 6.959%
conda-forge.org: pastas
- Homepage: https://github.com/pastas/pastas
- Licenses: MIT
- Latest release: 0.21.0 (published over 2 years ago)
- Last Synced: 2025-04-01T02:09:12.799Z (26 days ago)
- Versions: 12
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 20.953%
- Forks count: 22.356%
- Average: 32.128%
- Dependent repos count: 34.025%
- Dependent packages count: 51.175%
Dependencies
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- codacy/codacy-coverage-reporter-action master composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- matplotlib >= 3.1
- numba >= 0.51
- numpy >= 1.17, < 1.24
- pandas >= 1.1
- scipy >= 1.8
Score: 17.35495206403179