Focusing on Focal Mechanisms with Pythonby@boa
993 reads

Focusing on Focal Mechanisms with Python

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

A comprehensive tutorial for plotting focal mechanism "beach-balls" using the PyGMT package for Python. The walk-through covers downloading focal mechanism data from the SCEDC, conditioning the data, creating a postscript legend, and plotting everything on a map. Highlights include: - Offsetting "beach-balls" from their point of origin - Scaling "beach-balls" by magnitude - Coloring "beach-balls" by depth - Plotting label text above each "beach-ball" - Controlling the size of the label text - Automatically downloading an SRTM DEM - Creating a postscript legend file

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Focusing on Focal Mechanisms with Python
First Try HackerNoon profile picture

@boa

First Try

About @boa
LEARN MORE ABOUT @BOA'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa