Public Repository

Last pushed: 8 months ago
Short Description
PyLidar built into Jupyter Datascience Notebook.
Full Description

Note: No longer maintained: The latest Pylidar build is now included in the datascience-rs container.

PyLidar + Jupyter

This image is the Jupyter Datascience notebook with Pylidar designed for the ESA TLS Workshop Demonstration.

Contents

It contains Pylidar in both Python 2 and 3 environments.

It also contains a stack of other useful remote sensing and data analysis packages including ipyparallel, tensorflow, gdal, rasterio, rios, rsgislib, python-fmask, folium, siphon, netCDF4, pandas, geopandas, matplotlib, plotly, scipy, seaborn, scikit-learn, scikit-image, sympy, cython, psycopg2, sshtunnel, r-essentials, cufflinks, patsy, statsmodel, cloudpickle, dill, numba, bokeh, plyr, devtools, dplyr, ggplot2, tidyr, shiny, rmarkdown, forecast, stringr, rsqlite, reshape2, nycflights13, caret, rcurl, randomforest, Gadfly, RDatasets and HDF5.

Running the notebook

The following command starts a container with the Notebook server listening for HTTP connections on port 8888 without authentication configured.
docker run -d -p 8888:8888 petescarth/datascience-pylidar
See the details for the Jupyter Datascience notebook for additional start options including mounting local folders and authentication.

Tips

To activate the Python 2 environment use:
source activate python2
You can return to the default environment with this command:
source deactivate

Dockerfile


# PyLidar container Dockerfile
# Based on https://github.com/jupyter/docker-stacks/tree/master/datascience-notebook

FROM jupyter/datascience-notebook:latest

# Add conda-forge, rios and change R priority
RUN /opt/conda/bin/conda config --prepend channels conda-forge
RUN /opt/conda/bin/conda config --prepend channels rios
RUN /opt/conda/bin/conda config --prepend channels r
RUN /opt/conda/bin/conda update conda -y

# Install TensorFlow, GDAL, RasterStats, PyLidar, RSGISLib and statistical utilities
RUN /opt/conda/bin/conda install gdal rasterstats netCDF4 pylidar python-fmask rsgislib h5py geopandas folium siphon plotly psycopg2 sshtunnel ipyparallel tensorflow -y
RUN /opt/conda/bin/conda install -n python2 gdal rasterstats netCDF4 pylidar python-fmask rsgislib h5py geopandas folium siphon plotly psycopg2 sshtunnel ipyparallel tensorflow -y
RUN /opt/conda/bin/conda clean -t

# Update R
RUN /opt/conda/bin/conda update r-base -y
RUN /opt/conda/bin/conda clean -t

Docker Pull Command
Owner
petescarth

Comments (0)