Skip to content

Commit

Permalink
updating to version 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-m-mudd committed Mar 28, 2023
1 parent 044c923 commit a2982c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
13 changes: 5 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,20 @@

# Pull base image. We start from the mambaforge image
FROM condaforge/mambaforge
MAINTAINER Simon Mudd ([email protected]) and Boris Gailleton ([email protected])
MAINTAINER Simon Mudd ([email protected])

# Need this to shortcut the stupid tzdata noninteractive thing
ARG DEBIAN_FRONTEND=noninteractive

# We need to change the python version
RUN mamba install -y python=3.8
RUN mamba install -y python=3.9

# We need some stuff to get lsdtopytools to install
RUN apt-get update && apt-get install -y \
build-essential \
libfftw3-dev \
&& rm -rf /var/lib/apt/lists/*




# Some tools for fetching data
RUN mamba install -y wget unzip

Expand All @@ -46,13 +43,13 @@ RUN mamba install -y ipython ipykernel jupyter jupyter-book
RUN mamba install -y gdal rasterio geopandas matplotlib numpy scipy pytables numba feather-format pandas pip pybind11 xtensor xtensor-python fiona utm pyproj cartopy folium h5py descartes

# Add viztools and paramselector
RUN pip install lsdviztools==0.4.8 lsdttparamselector
RUN pip install lsdviztools==0.4.11 lsdttparamselector

# Add lsdtopytools
RUN mamba install -y lsdtt-xtensor-python
#RUN mamba install -y lsdtt-xtensor-python

# Add lsdtopytools
RUN mamba install -y lsdtopytools
#RUN mamba install -y lsdtopytools

# Set the working directory
WORKDIR /LSDTopoTools
Expand Down
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ The package also includes a python geospatial stack:

It also allows some command line processing with GDAL. See some tips for using the GDAL command line tools here: https://lsdtopotools.github.io/LSDTT_documentation/LSDTT_introduction_to_geospatial_data.html#_gdal

## Versions

**IMPORTANT**

The current version of this container, with the `latest` and `v0.7` tags, runs on python 3.9, in order to give compatibilty with google colab. However, `lsdtopytools` currently does not function in this environment.

If you wish to use `lsdtopytools` you need to use `v0.6` or earlier.

## Instructions

### Installing Docker
Expand Down

0 comments on commit a2982c1

Please sign in to comment.