Installation

From sources

The sources for flem can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/johnjarmitage/flem

Or download the tarball:

$ curl  -OL https://github.com/johnjarmitage/flem/tarball/master

Dependencies

Once you have a copy of the source you will then need to install the dependencies. Fenics is best installed from Conda, as is GDAL. Therefore provided are two requirements files. First install Anaconda. Then from within a terminal:

$ conda create -n flem python=3.6
$ conda activate flem

Then install the dependencies via conda:

$ conda install -c conda-forge --file requirements_conda.txt

Finally install the the remaining dependencies via PyPI:

$ conda install pip
$ pip install -r requirements.txt

Now you are good to go. Check out the Notebook in the tests directory for ideas.