Install xarray-topo¶
Install from source¶
There is currently no xarray-topo
release available at PyPi
or conda-forge.
Be sure you have the required dependencies (numpy and xarray) installed first. You might consider using conda to install them:
$ conda install xarray 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