Focusing on Focal Mechanisms with Python

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

image

First Try Hacker Noon profile picture

@boaFirst Try

Learning new things and sharing them

Tags

Join Hacker Noon

Create your free account to unlock your custom reading experience.

%post_title%

Cryptovixens Source

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on pinterest
Pinterest

Responses

Your email address will not be published.

Get 20% Discount

Sign up to receive updates, promotions, and sneak peaks of upcoming products. Plus 20% off your next order.

Promotion nulla vitae elit libero a pharetra augue

Nullam quis risus eget urna mollis ornare vel eu leo. Aenean lacinia bibendum nulla sed