svenn-t / PET

PET for data assimilation and optimization

Home Page:https://python-ensemble-toolbox.github.io/PET/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


PET is a toolbox for ensemble-based Data Assimilation and Optimisation. It is developed and maintained by the eponymous group at NORCE Norwegian Research Centre AS.

CI status

Installation

To install PET, first clone the repo with (assuming you have added the SSH key)

git clone git@github.com:Python-Ensemble-Toolbox/PET.git PET

Make sure you have the latest version of pip and setuptools:

python3 -m pip install --upgrade pip setuptools

Optionally (but recommended): Create and activate a virtual environment:

python3 -m venv venv-PET
source venv-PET/bin/activate

If you do not install PET inside a virtual environment, you may have to include the --user option in the following (to install to your local Python site packages, usually located in ~/.local).

Inside the PET folder, run

python3 -m pip install -e .
  • The dot is needed to point to the current directory.
  • The -e option installs PET such that changes to it take effect immediately (without re-installation).

Examples

PET needs to be setup with a configuration file. See the example folder for inspiration.

About

PET for data assimilation and optimization

https://python-ensemble-toolbox.github.io/PET/

License:GNU General Public License v3.0


Languages

Language:Python 100.0%