Welcome to the OGGM tutorials!#

If you are new to jupyter notebooks or to jupyterlab, we recommend to have a look at our introduction to jupyter notebooks first!

If you are reading this from our webpage (https://oggm.org/tutorials), remember that each page displayed here is in fact a jupyter notebook! You can start an interactive version of these tutorials online with MyBinder by clicking on the “launch button” on the top right of this page (the little rocket 🚀).

Ready to go?

New! The 10 minutes tutorials:

These new tutorials are designed to illustrate one single OGGM concept at a time. They are a good way to get started with OGGM, or for returning users to learn about new features!

Beginner tutorials:

  • working_with_rgi will show you how to read glacier outline files and prepare them for a run

  • store_and_compress_glacierdirs: storing glacier directories for later use

  • plot_mass_balance: fetch and plot the simulated mass-balance as well as other diagnostics

  • distribute_flowline: compute area and thickness changes from the flowline on a 2D grid (experimental!)

  • deal_with_errors: dealing with errors after a run

  • inversion: run the OGGM ice thickness inversion model with various ice parameters

  • hydrological_output: hydrological mass-balance output

  • oggm_shop: getting acquainted with what’s happening under the hood in OGGM GlacierDirectories, and how you can use the shop to add data to them

  • full_prepro_workflow What’s in your preprocessed directories? A full OGGM workflow, step by step

Advanced tutorials:


Related to OGGM:

  • holoviz_intro: an introduction to the HoloViz vizualisation ecosystem (previously called PyViz)

Tutorials in (re-)construction:

Have fun learning OGGM!

Package versions used to build this documentation:

# Package versions
from oggm.utils import show_versions
# OGGM environment: 
## System info:
    python: 3.10.12.final.0
    python-bits: 64
    OS: Linux
    OS-release: 5.15.0-1041-azure
    machine: x86_64
    processor: x86_64
## Packages info:
    oggm: 1.6.1
    numpy: 1.24.4
    scipy: 1.11.2
    pandas: 2.0.3
    geopandas: 0.13.2
    netCDF4: 1.6.4
    matplotlib: 3.7.2
    rasterio: 1.3.8
    fiona: 1.9.4.post1
    pyproj: 3.6.0
    shapely: 2.0.1
    xarray: 2023.8.0
    dask: 2023.8.1
    salem: 0.3.10.dev1+gfe1a230
    OGGM git identifier: 96a9b56c4bacef12dcbbd25f0bdde8b32696c612