paint-brush
Focusing on Focal Mechanisms with Pythonby@boa
1,713 reads
1,713 reads

Focusing on Focal Mechanisms with Python

by First Try39mSeptember 10th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
First Try

First Try

@boa

Learning new things and sharing them

About @boa
LEARN MORE ABOUT @BOA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

First Try HackerNoon profile picture
First Try@boa
Learning new things and sharing them

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite