Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pastas/pastas-plugins
:hammer_and_wrench: Repository containing plugins to further enhance your pastas experience.
https://github.com/pastas/pastas-plugins
analysis hydrology pastas plugins python timeseries
Last synced: 25 days ago
JSON representation
:hammer_and_wrench: Repository containing plugins to further enhance your pastas experience.
- Host: GitHub
- URL: https://github.com/pastas/pastas-plugins
- Owner: pastas
- License: mit
- Created: 2024-07-11T08:56:47.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T11:34:19.000Z (3 months ago)
- Last Synced: 2024-09-17T13:38:44.286Z (3 months ago)
- Topics: analysis, hydrology, pastas, plugins, python, timeseries
- Language: Python
- Homepage: https://pastas-plugins.readthedocs.io
- Size: 8.44 MB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pastas-plugins
Welcome to the pastas-plugins repository, your one-stop-shop for customized
cutting-edge additions to Pastas.## Current plugins
The following plugins are now available:
- **`cross_correlation`**: analyze and visualize the cross-correlation between two time series.
- **`modflow`**: use modflow models as response functions.
- **`reservoirs`**: use reservoir models to simulate time series.
- **`responses`**: custom response functions for Pastas.## Installation
Install `pastas-plugins` with:
```bash
pip install pastas_plugins
```If you want to use a specific plugin and want to ensure you install all the requisite
dependencies, you can use the following command:```bash
pip install pastas-plugins[]
```If you want to install them all:
```bash
pip install pastas-plugins[all]
```## Usage
Import the pastas-plugins module with:
```python
import pastas_plugins as pp
```This gives you access to the following functions:
```python
pp.list_plugins() # list of all plugins
pp.show_plugin_versions() # show plugin versions
```The function `pp.show_plugin_versions()` will indicate if any dependencies are missing
for a particular plugin. See the [Installation](#installation) section above for tips
on how to install dependencies for a particular plugin.To use a particular plugin, you'll have to import it explicitly, e.g.:
```python
from pastas_plugins import responsesrfunc = responses.Theis()
```Separate plugins are each stored in a separate submodule within the pastas-plugins
package. You do not need to install the dependencies for each plugin if you're only
interested in one particular plugin.