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.
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).
PET needs to be setup with a configuration file. See the example folder for inspiration.