Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

AGU 2023 Tutorial: Visualizing 2D and 3D Geoscience Data in Python

Set “homeDir” to example data directory

Download example data here

Create a new Session

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 1
----> 1 from vapor import session
      2 ses = session.Session()

ModuleNotFoundError: No module named 'vapor'

Find documentation

Load data

Show dataset metadata

Coordinate variables

Variables

Create a 2D Data renderer

Show the renderer

Apply a height variable

Create an interactive Visualizer with VaporVisualizerWidget()

Show a Transfer Function

Apply opacity to a Transfer Function

Render the current Session in an interactive Visualizer

Load a builtin Transfer Function

Load a Transfer Function that was configured in VAPOR

Interactive Sliders - Open visualizer_widget_example.ipynb

*** Back to VAPOR for DVR and Python Engine ***

Timeseries Animation

Keyframing

Camera Orbit