Skip to content

earthinversion/Geospatial-Data-Visualization-using-PyGMT

Repository files navigation

Geospatial Data Visualization using PyGMT

This notebook has been created for the BSL talk on Feb 02, 2022 at McCone Hall, University of California, Berkeley

You can also open the notebooks in the Binder application online...

Binder

Install libraries

Using python env

python -m venv geoviz
source geoviz/bin/activate
pip install pygmt
  • Try:
python -c "import pygmt"

if there's no ImportError, then you are good to go.

NOTE: If there's any pygmt import problem, install GMT separately and link the libgmt.dylib file to the file python is looking for!

  • One way to install GMT is conda install gmt -c conda-forge
ln -s ~/miniconda3/envs/boxgmt/lib/libgmt.dylib ~/miniconda3/envs/geoviz/lib/libgmt.dylib

Using conda env (recommended)

conda create --name geoviz --channel conda-forge pandas pygmt jupyter notebook
conda env export > environment.yml

About

Example script to visualize topographic data, earthquake data, and tomographic data on a map

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published