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

  • 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)

  • dem_comparison: compare the various DEMs available in OGGM

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.10.final.0
    python-bits: 64
    OS: Linux
    OS-release: 5.15.0-1034-azure
    machine: x86_64
    processor: x86_64
## Packages info:
    oggm: 1.6.0
    numpy: 1.23.5
    scipy: 1.9.3
    pandas: 1.5.3
    geopandas: 0.12.2
    netCDF4: 1.6.3
    matplotlib: 3.7.1
    rasterio: 1.3.6
    fiona: 1.9.1
    pyproj: 3.4.1
    shapely: 2.0.1
    xarray: 2023.2.0
    dask: 2023.3.0
    salem: 0.3.10.dev1+gfe1a230
    OGGM git identifier: dd5c520ce73e0fe40e9d06757952320cb5a779f0