A python script for Global CMT solutions downloading from IRIS database

This is a simple python script for downloading Global CMT solutions directly from the IRIS database. The script is based on a URL request, following the current rules of the IRIS query for CMT catalog, which is related to the date of the seismic event. It stores all the CMT solutions in an external file, named “CMTSOLUTIONS” and it provides also the temporary “temp.xml” file in the QUAKEML format. In the end of this core, a python script generates the map of the events, with the beachballs of the focal mechanisms and the colorscale indicating their depth.

The code is available on my personal GitHub: https://github.com/foivoskar/pyGCMT

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *