Skip to content
Thomas Nipen edited this page Nov 26, 2022 · 10 revisions

Quick installation

The easiest way to install Verif is using pip as follows:

pip install verif

Verif should then be accessible by typing verif on the command-line.

Installing Cartopy for maps

Verif uses Cartopy to plot data on satellite/topo maps. Unfortunatelly, installing cartopy is not always straight forward since you need the GEOS library installed. Here are installation instructions: https://scitools.org.uk/cartopy/docs/latest/installing.html

On Ubuntu, the following hopefully works:

sudo apt-get update
sudo apt-get install libgeos-dev libproj-dev
pip install cartopy

You can still use Verif to plot basic maps without installing Cartopy, however then you can only plot simple maps with coastlines.

Installing from source

If you want to install Verif from source (e.g. you want the latest code that hasn't been released yet), download the source code of the latest version: https://github.com/WFRT/verif/releases/. Unzip the file and navigate into the extracted folder.

Then install Verif by executing the following inside the extracted folder:

  python setup.py install

Troubleshooting

I don't have pip: On Ubuntu you can easily install pip using the following command:

sudo apt install python3-pip

Alternatively, checkout these installation instructions: https://pip.pypa.io/en/stable/installation/

I installed Verif, but the command isn't found: The problem might be that the folder where the Verif executable was installed into is not in your PATH environment variable. When installing Verif, look for the line "Installing verif script to ", as this will indicate what folder Verif is installed into. Add the folder to your PATH environment variable if necessary (i.e add export PATH=$PATH:~/.local/bin to ~/.bashrc).