Skip to content

sasip-climate/notebooks-nextsim-workshop2025

Repository files navigation

Material for the nextsim workshop

This repo contains the material that will be displayed during neXtSIM workshop taking place in Brown University, Providence, 2025 June 26-27. Click on the link to access the notebook corresponding to the session :

Program

Installation

Here are the instructions on how to run this material on your own laptop.

Prerequisites : You will need a recent version of docker on your machine, if you do not have it already you can install it from here : https://docs.docker.com/get-started/get-docker/ You will also need around 10Gb of storage for the docker image and the data it contains.

You need 2 ingredients :

  • the notebooks
  • the computing environment

First step : The notebooks are stored in this very repo, download them with :

git clone https://github.com/sasip-climate/notebooks-nextsim-workshop2025.git

It will create a directory called notebooks-nextsim-workshop2025

Second step : The docker image contains the python libraries, a compiled version of nextsimdg and other tools and the data required to run the notebooks. It can be downloaded with this command (after having started the docker Desktop) :

docker run --rm -v /YOURPATH/notebooks-nextsim-workshop2025:/home/notebooks-nextsim-workshop2025 -p 8888:8888 quay.io/auraoupa/nextsim-workshop:2ebf5817a75f 

where YOURPATH must be replaced by the absolute path on your laptop leading to the notebooks-nextsim-workshop2025 directory created by the first step

⚠️ Be careful that YOURPATH does not have any blank spaces in it !!

A jupyterlab is now deployed, you just have to open in a browser the given adress http://127.0.0.1:8888/lab?token=... with your assigned token

If the command returns WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested, try this alternative command:

docker run --rm -v /YOURPATH/notebooks-nextsim-workshop2025:/home/notebooks-nextsim-workshop2025 -p 8888:8888 ghcr.io/sasip-climate/workshop:latest 

If the command returns docker: Cannot connect to the Docker daemon at unix:///Users/alberta/.docker/run/docker.sock. Is the docker daemon running?, you just need to launch the docker desktop !

Results

You should have this jupyterlab session open in a browser (learn how to work in a jupyterlab framework here):

You can now navigate in the notebooks repository (left panel) and open the Welcome.ipynb notebook :

After closing your browser, you can relaunch at any time by re-executing the command docker run --rm -v /YOURPATH/notebooks-nextsim-workshop2025:/home/notebooks-nextsim-workshop2025 -p 8888:8888 quay.io/auraoupa/nextsim-workshop:2ebf5817a75f, it will take much less time since the docker image is now on your computer.

At the start of the workshop, you will have to get the latest version of the notebooks by doing a git pull while inside the notebooks-workshop2025 repository

Online alternative

You can use binder here : https://mybinder.org/v2/gh/sasip-climate/docker-image-nextsim-workshop/data Warning it will be slow !

While inside the binder, launch a terminal and clone the notebooks there : git clone https://github.com/sasip-climate/notebooks-nextsim-workshop2025.git

About

Material for the nextsim workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7