Git Product home page Git Product logo

gospl-container's Introduction

goSPL Docker container

Docker container with pre- & post-processing libraries

The container is built with Anaconda and python v3.10.

On top of the libraries required for goSPL, the following main ones are available:

  • xarray, rioxarray, xarray-spatial
  • pygmt, cartopy, pygplates
  • xesmf, metpy
  • stripy, meshio, meshplex, triangle
  • vtk, hdf5, netCDF4

Note

If you need additional libraries you could install them from the Jupyter terminal directly (when opening the terminal change the shell to bash by using running bash) within the container by using either the conda install command or pip install command.

Install goSPL Docker image

Docker is an open platform for developing, shipping, and running applications. You can install it from:

Once you have installed Docker Desktop for your operating system then enable the docker comand line (Docker CLI) and pull the goSPL Docker image from the terminal using the following:

docker pull geodels/gosplcontainer:latest

Once pulled, you can run the gosplcontainer using:

docker run -it -p 8888:8888 -d -v localDIR:/notebooks geodels/gosplcontainer:latest

where localDIR is the directory that contains the Jupyter Notebooks for your simulation.

Once Docker is running, you could open the Jupyter notebooks on a web browser at the following address:

This should open in your localDIR directory.

Additional useful Docker commands

List the running containers:

docker ps

Use docker stop xxxx where xxxxx is the CONTAINER ID from the list obtained with the previous command.

To stop all running containers:

docker stop $(docker ps -a -q)

To remove the gosplcontainer:

docker image rm  geodels/gosplcontainer:latest

gospl-container's People

Contributors

tristan-salles avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.