All Projects → ahotovec → REDPy

ahotovec / REDPy

Licence: GPL-3.0 License
Repeating Earthquake Detector (Python)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to REDPy

QuakeMigrate
A Python package for automatic earthquake detection and location using waveform migration and stacking.
Stars: ✭ 101 (+62.9%)
Mutual labels:  seismology, volcanology
axisem
AxiSEM is a parallel spectral-element method to solve 3D wave propagation in a sphere with axisymmetric or spherically symmetric visco-elastic, acoustic, anisotropic structures.
Stars: ✭ 34 (-45.16%)
Mutual labels:  seismology
Lazylyst
Lazylyst is a GUI created for time series review, using a flexible framework for new workflows
Stars: ✭ 16 (-74.19%)
Mutual labels:  seismology
seisman.info.posts
SeisMan博客的内容部分,引擎部分见 https://github.com/seisman/blog.seisman.info
Stars: ✭ 50 (-19.35%)
Mutual labels:  seismology
sl2influxdb
Fetch seedlink data and store them into InfluxDB
Stars: ✭ 28 (-54.84%)
Mutual labels:  seismology
mtuq
moment tensor uncertainty quantification
Stars: ✭ 40 (-35.48%)
Mutual labels:  seismology
OrientPy
Seismic station orientation tools
Stars: ✭ 29 (-53.23%)
Mutual labels:  seismology
noisi
A tool for modeling and source inversion of auto- and cross-correlations of ambient seismic "noise".
Stars: ✭ 32 (-48.39%)
Mutual labels:  seismology
obsplus
A Pandas-Centric ObsPy Expansion Pack
Stars: ✭ 28 (-54.84%)
Mutual labels:  seismology
MuRAT
A multi-resolution seismic attenuation tomography code - currently in its 3.0 release
Stars: ✭ 24 (-61.29%)
Mutual labels:  seismology
disba
Numba-accelerated computation of surface wave dispersion
Stars: ✭ 66 (+6.45%)
Mutual labels:  seismology
nllgrid
Python class for reading and writing NLLoc grid files.
Stars: ✭ 23 (-62.9%)
Mutual labels:  seismology
seispy
Python module of seismology and receiver functions
Stars: ✭ 50 (-19.35%)
Mutual labels:  seismology
SeisNoise.jl
Ambient Noise Cross-Correlation in Julia
Stars: ✭ 43 (-30.65%)
Mutual labels:  seismology
scrtdd
Double Difference Relocator for SeisComP
Stars: ✭ 17 (-72.58%)
Mutual labels:  seismology
zmap7
ZMAP Seismology Software. V 7.x has been updated to MATLAB R2018a.
Stars: ✭ 60 (-3.23%)
Mutual labels:  seismology
Telewavesim
Teleseismic body wave modeling through stacks of (submarine/anisotropic) layers
Stars: ✭ 41 (-33.87%)
Mutual labels:  seismology
stream2segment
A Python project to download, process and visualize medium-to-massive amount of seismic waveforms and metadata
Stars: ✭ 18 (-70.97%)
Mutual labels:  seismology
RfPy
Teleseismic receiver function calculation and post-processing
Stars: ✭ 25 (-59.68%)
Mutual labels:  seismology
fteikpy
Accurate Eikonal solver for Python
Stars: ✭ 34 (-45.16%)
Mutual labels:  seismology

REDPy Logo

Overview

REDPy (Repeating Earthquake Detector in Python) is a tool for automated detection and analysis of repeating earthquakes in continuous data. It works without any previous assumptions of what repeating seismicity looks like (that is, does not require a template event). Repeating earthquakes are clustered into "families" based on cross-correlation across multiple stations. All data, including waveforms, are stored in an HDF5 table using PyTables.

Installation

Download the zip file or use git to clone the entire repository to a working directory (e.g., mine is /Users/ahotovecellis/REDPy/). All scripts will be run from this directory, and all new files will be generated here.

REDPy runs on Python 3.6+, with the following major package dependencies:
numpy | scipy | matplotlib | obspy | pytables | pandas | bokeh | cartopy

These dependencies can be easily installed via Anaconda on the command line. I highly recommend using a virtual environment so that your REDPy environment does not conflict with any other Python packages you may be using. This can be done with the following commands:

>> conda config --add channels conda-forge
>> conda create -n redpy python=3.7 bokeh cartopy obspy pandas pytables

You may either use python=3.6 or python=3.7, but other versions are no longer supported.

I have included an environment file that should create a stable environment with Python python=3.7:

>>> conda env create -f redpy37.yml

or at least provide a guide for if the code breaks and the output of your conda list does not match.

Whenever you intend to run REDPy, be sure to conda activate redpy and then conda deactivate when you are done.

Usage

Once dependencies are installed, REDPy is downloaded, and you are in the redpy environment, REDPy can be run out of the box with the following commands to test if the code is working on your computer. If it completes without error, it will produce files in a folder named default after several minutes.

>> python initialize.py
>> python catfill.py -v mshcat.csv
>> python backfill.py -v -s 2004-09-15 -e 2004-09-24

Check out the Wiki for more detailed usage!

Reference

If you would like to reference REDPy in your paper, please cite the following abstract until I finish writing the Electronic Seismologist paper for it:

Hotovec-Ellis, A.J., and Jeffries, C., 2016. Near Real-time Detection, Clustering, and Analysis of Repeating Earthquakes: Application to Mount St. Helens and Redoubt Volcanoes – Invited, presented at Seismological Society of America Annual Meeting, Reno, Nevada, 20 Apr.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].