Installation

This section contains instructions for installing GeodePy.

Installing via pip

The recommended way to install GeodePy is via pip. You can do this by running the following command in terminal:

pip install geodepy

Installing from source

If you prefer to install GeodePy from source, you can clone the repository from GitHub and use the python files:

git clone https://github.com/GeoscienceAustralia/GeodePy.git

Requirements

GeodePy has some requirements that also need to be installed. Not all packages will be used for all modules. The requirements can be seen below.

NumPy
SciPy # only needed for height module
GDAL # only needed for height module
Pandas # only for sinex module

GDAL is only used for the heights module and sometimes can be difficult to install. For more information on installing GDAL see the GDAL pypi page.

Updating GeodePy

To update GeodePy to the latest version, you can use pip with the upgrade flag:

pip install --upgrade geodepy

Testing GeodePy

GeodePy can be tested using the a unit test. This can be run as seen below.

Caution

The directory may need to be changed to point to the correct test folder

python3 -m unittest discover GeodePy/geodepy/tests --verbose

All tests should complete successfully. If not you may need to install some required packages.