Blog

I'm an avid python user. From time to time I'll post projects using my favorite packages Numpy, Scipy, pandas or ObsPy

 

Plotting (small) Focal Mechanisms with Basemap

September 6, 2017

I recently wrote a field guide entry on the structure of the Snake River Canyon. I wanted to make a simple map displaying focal mechanisms of local earthquakes and to show that the mechanisms matched a previous cross-section. Usually, I would use ObspyDMT for such a task, but getting focal mechanisms data from the USGS for Mw < 4 earthquakes is quite difficult. Instead, I did some webscraping with beautiful soup.