Overview

Bane Sullivan

The instructions and example code are hosted on GitHub here: https://github.com/banesullivan/trans...

This workshop provides an introductory guide to PyVista for geoscientists. Bane Sullivan, one of the co-creators of PyVista, will give an overview of the PyVista 3D visualization software, how to get up and running with it, and some of the software’s basic features in a geoscientific context. Bane’s goal for this workshop is to provide a guide to understanding PyVista and provide everyone the tools they need to learn and explore PyVista beyond the workshop.

#Getting Started

This workshop assumes you have anaconda on your machine. There is a provided environment.yml file to create a conda virtual environment for installing PyVista and many other packages for the tutorials in this workshop.

  1. Download entire repository
  2. Run conda env create --file=environment.yml
  3. Activate the environment: conda activate t21-pyvista

As a last resort, there is a MyBinder set up for this demo here:

MyBinder will be slow and not as responsive when 3D rendering so I advise against using it.

#Using pip instead

For those of you that do not use anaconda, I have added a requirements.txt file that can be used with pip to isntall everything. This demo will work best on Python 3.7.

pip install -r requirements.txt

#Docker

There is also a docker image hosted on GitHub's container registry: https://github.com/banesullivan/transform-2021/pkgs/container/transform-2021

docker pull ghcr.io/banesullivan/transform-2021:latest

Run the docker image:

docker run -p 8888:8888 ghcr.io/banesullivan/transform-2021:latest