A python script, using ObsPy tools, to generate Global CMT solution catalogues.
There are 2 files contained in this repository:
- A python script, pyGCMT.py, which can be launched from a terminal, to generate the GCMT catalog.
- A jupyter notebook, pyGCMT.ipynb, which generates the GCMT catalog and a map of the focal mechanisms for the downloaded events.
There are 2 output files:
- The CMTSOLUTIONS, which is the Global CMT convention text file, containing the catalog of the requested events
- A temporary, temp.xml, file, which contains the same information in a QUAKEML format.