Skip to main content

Pastas is an open-source Python framework for the analysis of groundwater time series.

Project description

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.

image

image image image image image

image image image image image

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

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:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pastas-1.9.0.tar.gz (164.1 kB view details)

Uploaded Source

Built Distribution

pastas-1.9.0-py3-none-any.whl (167.5 kB view details)

Uploaded Python 3

File details

Details for the file pastas-1.9.0.tar.gz.

File metadata

  • Download URL: pastas-1.9.0.tar.gz
  • Upload date:
  • Size: 164.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for pastas-1.9.0.tar.gz
Algorithm Hash digest
SHA256 ca209617d6c6c0b6b53600dbfe8dfae05224808a82375cb1892ac41aae5cb1ed
MD5 155dc87b4246460dd7bb2bf52680f27a
BLAKE2b-256 fab28c9e18d34205baa7b936997edad2dbcfd0f522c378035f06d8d3f696b026

See more details on using hashes here.

File details

Details for the file pastas-1.9.0-py3-none-any.whl.

File metadata

  • Download URL: pastas-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 167.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for pastas-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fc888d9f8d946b6ece63b90659503bdb5e8516aba3d45c3e4c529d67660714e
MD5 c4228074b0549664ccf5b5b9cb97ea1e
BLAKE2b-256 5e154faae5365b53caa6d7c1bd21de9dd0b9d5974380db70a2b9dff33459200d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page