Presenters-0517

From CSDMS
CSDMS 2021: Changing Landscapes and Seascapes: Modeling for Discovery, Decision Making, and Communication


Building Interactive Dashboards for Earth Surface Processes Modeling with Python and Jupyter



Benoît Bovy

GFZ / Independent software engineer, Belgium
bbovy@gfz-potsdam.de


Abstract
Jupyter notebooks provide a very convenient way to communicate research results: they may contain narrative text, live code, equations and visualizations all in a single document. Beyond notebooks, the Jupyter ecosystem also provides many interactive, graphical components (widgets) that can be used within notebooks to further enhance the user experience. Those widgets serve a variety of purposes such as 2D (Ipympl, Bqplot, Ipycanvas) or 3D (Ipygany) scientific visualization, 2D (Ipyleaflet) or 3D (Pydeck) maps, etc. When the target audience is not familiar with coding, it is possible to turn Jupyter notebooks into interactive dashboards and publish them as stand-alone web applications (using Voilà).

In this workshop, we will learn how to leverage this powerful Jupyter environment to build custom, interactive dashboards for exploring models of Earth surface processes in contexts like research, teaching and outreach. After introducing the basics of Jupyter widgets, we will focus on more advanced examples based on Fastscape and/or Landlab. We willl also spend some time on hands-on exercises as well as brainstorming dashboard ideas.

Clinic materials and installation instructions can be found here: https://github.com/benbovy/jupyter-dash-csdms2021

Related links:

- https://github.com/fastscape-lem/gilbert-board

- https://github.com/fastscape-lem/ipyfastscape





Please acknowledge the original contributors when you are using this material. If there are any copyright issues, please let us know (CSDMSweb@colorado.edu) and we will respond as soon as possible.

Of interest for:
  • Terrestrial Working Group
  • Education and Knowledge Transfer (EKT) Working Group
  • Cyberinformatics and Numerics Working Group