v1.0 - Released Feb. 2024
RELOCDD-PY is a Python program for relocating earthquakes that employs various geometries of the double-difference (DD) method. These include:
- Event-Pair DD (Waldhauser and Ellsworth, BSSA, 2000)
- Station-Pair DD (Zhang et. al., GRL, 2010)
- Double-Pair DD (Guo and Zhang, GJI, 2016)
This code is available to download on github: https://github.com/katie-biegel/relocDD-py
To download code you can also run:
cd ~/PATH/TO/PYTHON/PACKAGES
git clone [GITURL]
RELOCDD-PY can be installed on any machine that supports python >= 3.5 .
RELOCDD-PY contains several self-contained software functions that may require further software installation. Depending on your usage of the program, you may not need to install all packages.
To install by hand you need the following packages:
- python
- os
- numpy
- datetime
- sys
- subprocess
- matplotlib
- scipy
- glob
- obspy
- utm
For problems with large number of data, it is often best to run multi-process cross-correlations. While this software includes scripts to build cross-correlation differential time files for both single-process and multi-process workflows, the multi-process workflow does require usage of the MPI4PY package. Installation instructions for that package can be found here: https://mpi4py.readthedocs.io/en/stable/install.html
If you plan to use RELOCDD-PY for synthetic tests (including building the intial event catalogs), you will need to have installed the fortran program HYPOINVERSE2000 by Fred Klein. https://www.usgs.gov/software/hypoinverse-earthquake-location
In addition, you will have to update the utility/synthetics/hypoinv.py script (line 15) to include the bin path.
K.M. Biegel, & Dettmer, J. (2024). relocDD-py (v1.0). Zenodo. https://doi.org/10.5281/zenodo.10607406.
Waldhauser, Felix, 2001, hypoDD -- A program to compute double-difference hypocenter locations, U.S. Geological Survey Open-File Report 01-113.
Waldhauser, Felix, and William L. Ellsworth, 2000, A double-difference earthquake location algorithm: Method and application to the northern Hayward fault, California, BSSA, 90, 1353-1368.
Zhang, Haijiang, Naudeau, Robert M., and M. Nafi Toksoz, 2010, Locating nonvolcanic tremors beneath the San Andreas fault using a station-pair double-difference location method, GRL, 37(13).
Guo, Hao and Haijiang, Zhang, 2016, Development of double-pair double difference earthquake location algorithm for improving earthquake locations, GJI, 208(1), 333-348.
This software is released opensource under the GNU General Public License . A detailed license can be seen in LICENSE.txt .
Copyright (c) 2024 Katherine Biegel
RELOCDD-PY is free software: you may redistribute or modify it under the terms of the GNU General Public License. RELOCDD-PY is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This project is an open-source project and will continue to be updated over time. We welcome all contributions to this project!
Last Update: Feb. 2024
If you have any issues with installation or usage of RELOCDD-PY , please reach out!
Katherine Biegel (katherine.biegel@ucalgary.ca)