Skip to content

europlanet-gmap/BasemappingUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Exemplary image data workflows for basemap generation

This repo is to share, test exemplary image processing steps and pipelines for use within ISIS on GMAP cloud services.

For the time being there are two directories:

  • scripts - collecting sample (shell) scripts and/or markdown commands explaining the workflow
  • notebooks - jupyter-notebook examples, typically using Python libraries, with explanation

Docker containers

A set of Docker containers is provided to optimize the use of shared workflows and to remove the overhead of setting up the software stack.

All the software installed in the provided (docker) containers is publicly available, and the container definitions (aka, dockerfiles) are also publicly available through GMAP GitHub org (github.com/europlanet-gmap) docker-* repositories.

Detailed information about the use and different flavors for each set of docker images can be found in their respective repositories in GMAP GitHub org, here below are the containers we judge more useful for this community:

  • chbrandt/isis3:jupyterhub: this container is the same one provided on our premises, jupyter.europlanet-gmap.eu
    • provides ISIS3, Python GIS libraries, GDAL 3.3

ISIS3 + Jupyter-Hub

"ISIS3DATA" is not included in the container, the user must mount a local copy of "ISISDATA" in the container's /isis/data. The example below show how to do it.

$ docker run -it --rm --name isis3_jupyter \
    -p 8000:8000 \
    -v "$PWD":"/mnt/data" \
    -v "/path/to/isis3data":"/isis/data" \
    chbrandt/isis3:jupyterhub

Where:

  • -v "/path/to/isis3data":"/isis/data", supposedly ISIS3DATA is at /path/to/isis3data, mount it to container's /isis/data
  • -p 8000:8000 tell docker to use port 8000 to connect to ISIS3-JupyterHub web interface
  • -v "$PWD":"/mnt/data" is binding/mounting the current directory (PWD) to container's /mnt/data

Authentication

If

Contributors

Always include information about the environment each notebook/script is necessary to run. For example, the software versions being used or environment variables if relevant. In the case of Python-based workflows, it is relevant to provide a conda-environment file, pip-requirements (or Pipenv) file next to each notebook. Or, if processing data on the command-line with ISIS, for example, make sure to include information about the ISIS version in use (GDAL or whatever feels relevant).

Whenever a notebook or script demands more than one file, do create a directory with the same name of the script/notebook and include it and the ancillary files all together in the directory.

Repository structure:

The starting point is examples of command use and command concatenation.

The idea is to use on our Juptyer HUB - or , for users that want to install as documented TBA, locally isis and asp being called via jupyter (as a first MVP interface).

This taking advantage of the library TBA name to provide command line options.

For long jobs, a queing system will be included, TBA.

All files should have a self-explaining name. Markdwon individual files, also with self-explaining names, can be in the scripts directory or in the root.

Resources

About

Utilities for base mapping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published