Install xarray-topo

Required dependencies

Optional dependencies

For landscape evolution modeling

Install using conda

xarray-topo can be installed or updated using conda:

$ conda install xarray-topo -c conda-forge

This installs xarray-topo and all common dependencies, including numpy and xarray.

xarray-topo conda package is maintained on the conda-forge channel.

Install using pip

You can also install xarray-topo and its required dependencies using pip:

$ pip install xarray-topo

Install from source

Be sure you have the required dependencies (numpy and xarray) installed first. You might consider using conda to install them:

$ conda install xarray xarray-simlab numba numpy pip -c conda-forge

A good practice (especially for development purpose) is to install the packages in a separate environment, e.g. using conda:

$ conda create -n topo_py36 python=3.6 xarray numba numpy pip -c conda-forge
$ source activate topo_py36

Then you can clone the xarray-topo git repository and install it using pip locally:

$ git clone https://gitext.gfz-potsdam.de/sec55-public/xarray-topo
$ cd xarray-topo
$ pip install .

For development purpose, use the following command:

$ pip install -e .

Import xarray-topo

To make sure that xarray-topo is correctly installed, try import it in a Python console:

>>> import xtopo