Xml2hypoDD
Pyrocko based functions to convert quakeML and stationXML datasets to HypoDD formated files and back.
Install / Use
/learn @marzeck/Xml2hypoDDREADME
xml2hypoDD
Pyrocko based functions to convert quakeML and stationXML datasets to HypoDD formated files and back. Short description of provided python functions:
- quakeml2phaseDD is used to convert a catalog of earthquake events from quakeMl format to hypoDD input format ("catalog of absolute travel time data, e.g. file phase.dat")
- stationXML2stationDD is used to convert a seismic network inventory from stationXML format to hypoDD input format ("station input, e.g. station.dat")
- relocDD2quakeml is used to convert hypoDD output after relocation (hypoDD.reloc) into an earthquake catalog in quakeML format. Initial hypocenter locations can be taken from original quakeML catalog (event identification performed with "convID.txt" file) or HypoDD output-file "hypoDD.loc".
Keep in mind, the presented functions are constructed for the catalog-based relocation and do not take into account any cross-correlation.
Requirements
- python
- pyrocko
Input formats
- event catalogs in quakeML format
- station information as stationXML
Citations
Schorlemmer, D., Euchner, F., Kästli, P., & Saul, J. (2011). QuakeML: status of the XML-based seismological data exchange format. Annals of Geophysics, 54(1), 59-65.
Ahern, T., Casey, R., Barnes, D., Benson, R., Knight, T., & Trabant, C. (2007). SEED Reference Manual, version 2.4. PLACE: Incorporated Research Institutions for Seismology.
Waldhauser, F. (2001). hypoDD--A Program to Compute Double-Difference Hypocenter Locations (hypoDD version 1.0-03/2001). US Geol. Surv. Open File Rep., 01, 113.
