Try OGGM online

You can try OGGM in your web browser without having to install anything! This is the best way to run the tutorials or even do exploratory research to test the model, before you move on to more serious computations.

https://gke.mybinder.org/static/logo.svg

Binder is the solution available to anyone without registration, but provide only temporary environments. Perfect for the tutorials!

https://jupyter.org/assets/hublogo.svg

OGGM-Hub is our own deployment on our cloud resources. Use OGGM-Hub if you want to rely on a persistent environment and more computing resources to run your experiments.

Binder

Using Binder is very simple. Just click on the link below to get you started!

https://img.shields.io/badge/Launch-OGGM%20tutorials-579ACA.svg?style=popout&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAABcSAAAXEgFnn9JSAAAAB3RJTUUH4wENDyoWA+0MpQAAAAZiS0dEAP8A/wD/oL2nkwAACE5JREFUWMO9WAtU1FUaH1BTQVJJKx+4BxDEgWEGFIzIVUMzPVBauYng8Jr3AxxAHObBvP6MinIUJdLwrTwqzXzkWVMSLW3N7bTrtmvpno7l6WEb7snMB6DffvfOzJ87A5a27t5zvjP/x/1/v9/9Xve7IxA84BFXYBMIi+zBIoUrOCLbxD9PVLgE/9MRtdhKfycW2gfGFzkMCFgXV2CPEStdAyQqLui/BhiXU3lP8xJkzkclSu77SapqSEYRyZ2bE+TO0b8JdGKRozeRRZWDcHXDEuWuEQkyx8gkJTcirtA2VCh3DvJYwJGT7AUngu9PDJ9nGH5/yM9oBU+X1fK3sXlVQyQKVyyu5lkELcUVviZRcHvECtc+BNiNz+vFSq5cWGifm6Sq/oghcE2s4GggRC+23Bv2hHwbfz1eankIFachkBsB/8mu7F4EyZyNzrNGUMsU2H4dfMxCI2v+cAQuRyWX+lSu5HrkbgSU3GcxeVWpgujZQd74uDs4+pS/jpZaxiD45kCFaHpIlDspaKp2JaQV10CavgYma5aDGJ/jN/RdAImvULc2Jt8WRnEIiQWGAPSZCr8oxiBrYRWRa6J8qqEW5tkbIXdlExSteQPkdbtR3oSC2lbIXr4DMq0bIb1kNU+SIXIdSdTE5FlHEoz4wo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ag/VIwYLzWHsdXzQYz/ABScQI1BUjcgAAAAAElFTkSuQmCC

If you are new to the Jupyter Notebooks or to Binder, you will probably find this introduction on OGGM-Edu quite useful.

Important: Binder environments are only temporary! Perfect for trying and learning, but not suitable for development work.

OGGM-Hub

This is our own JupyterHub deployment of OGGM on the cloud.

https://img.shields.io/badge/Launch-OGGM%20hub-F37524.svg?style=popout&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAABcSAAAXEgFnn9JSAAAAB3RJTUUH4wENDyoWA+0MpQAAAAZiS0dEAP8A/wD/oL2nkwAACE5JREFUWMO9WAtU1FUaH1BTQVJJKx+4BxDEgWEGFIzIVUMzPVBauYng8Jr3AxxAHObBvP6MinIUJdLwrTwqzXzkWVMSLW3N7bTrtmvpno7l6WEb7snMB6DffvfOzJ87A5a27t5zvjP/x/1/v9/9Xve7IxA84BFXYBMIi+zBIoUrOCLbxD9PVLgE/9MRtdhKfycW2gfGFzkMCFgXV2CPEStdAyQqLui/BhiXU3lP8xJkzkclSu77SapqSEYRyZ2bE+TO0b8JdGKRozeRRZWDcHXDEuWuEQkyx8gkJTcirtA2VCh3DvJYwJGT7AUngu9PDJ9nGH5/yM9oBU+X1fK3sXlVQyQKVyyu5lkELcUVviZRcHvECtc+BNiNz+vFSq5cWGifm6Sq/oghcE2s4GggRC+23Bv2hHwbfz1eankIFachkBsB/8mu7F4EyZyNzrNGUMsU2H4dfMxCI2v+cAQuRyWX+lSu5HrkbgSU3GcxeVWpgujZQd74uDs4+pS/jpZaxiD45kCFaHpIlDspaKp2JaQV10CavgYma5aDGJ/jN/RdAImvULc2Jt8WRnEIiQWGAPSZCr8oxiBrYRWRa6J8qqEW5tkbIXdlExSteQPkdbtR3oSC2lbIXr4DMq0bIb1kNU+SIXIdSdTE5FlHEoz4woDgFslc3mLhHIRA9X6rRuAUzQqY79gM2oa3wbTjCNib2/3E0eL5Xbb1MKjr98JLrq0wRbeCkmbio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to provide free resources to anyone interested in using and testing OGGM more seriously. In order to be able to log-in on hub.oggm.org, you will need to have a Github account (it’s free!) and be a registered member of the OGGM, pangeo-data or informatics-lab github organisations. Get in touch if you want to try it out!

Warning

hub.oggm.org is still experimental and we cannot guarantee that your work will always be safe here. We will do our best, but, you know, we are scientists after all. Please, make a copy of your files from time to time!

How does this work?

We use resources provided by Google Cloud to run a virtual cluster. This cluster “scales” with the number of users logged-in at each time: each user gets a fixed amount of computing resources and when the demand grows, the cluster grows. This is why logging-in can take longer or shorter, depending on the cluster load at that time.

Currently (we are still trying things out), each user gets up to 2 CPUs (4 processes) and enough RAM to run OGGM. This is not enough to do heavy work, but will get you through the exploratory phase or even small regional runs. Each user also gets a persistent 10Gb disk so save input data, notebooks and scripts.

Pulling the tutorials (and other content) with nbgitpuller

Per default, your user space after logging should be empty. In hub.oggm.org we use nbgitpuller to automatically download content from our tutorials repository for you.

The command that is executed at each log-in is:

` $ gitpuller https://github.com/OGGM/oggm-edu-notebooks master notebooks `

Which means that the OGGM-Edu notebooks are copied into the notebooks folder in your home directory. You can use the a similar command in your lab’s terminal to pull content from other repositories as well. Another way to pull content is to use a special link to open your hub. Say, for example, that you would like to download the content of Lizz’ glacier course in your lab as well. You can use the link generator to create the following link which, once clicked, will open your workspace with the new notebooks in it:

https://hub.oggm.org/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fehultee%2FCdeC-glaciologia&urlpath=lab%2Ftree%2FCdeC-glaciologia%2F

Important

nbgitpuller will never overwrite changes that the user made to the files in the pulled folder. This is very important to remember: sometimes your students would like to get an updated version of the notebooks for example, and this will not work if the file changed. Therefore, it is always a good idea to make a working copy of the original file/folder before working in it (right-click -> rename).

The full set of rules used by nbgitpuller while pulling is explained here

FAQ: copy-pasting text in the terminal in JupyterLab

Copying to and from JupyterLab can be annoying at times (context). This is one of the most frequent issue hitting users of JupyterLab, when: - working in a terminal (Launcher -> Start a terminal), - selecting text from the output of jupyter cells.

In these cases, press shift + right click to experience a standard “copy/paste” mouse menu.