Giter Club home page Giter Club logo

pysep's Introduction

pysep
SEP = seismogram extraction and processing

pysep uses obspy tools to request seismic data, process data, and write out sac files.
Our motivation is to have files prepared for moment tensor inversions.
However the sac files can be used for other purposes as well.

download:
git clone https://github.com/uafgeotools/pysep.git

What pysep does:
+ input event information or get it from IRIS. You can also loop over multiple events.
+ extract waveforms using get_waveforms_bulk
+ makes sure that the three-component waveforms for a station are of equal length
+ write sets of sac files with headers
+ plot station map
+ save station .xml file 

OPTIONAL STEPS
+ demean or detrend the waveforms
+ prefilter option (prior to removing instrument response)
    (a) none
    (b) based on window length and sample rate
    (c) input filter periods, checked according to window length and sample rate
+ filter extracted waveforms (causal, acausal, low-pass, etc)
+ remove instrument response
+ scale amplitude of the waveforms
+ resample
+ input taper fraction (useful for short time-windows)
+ add null traces so that there are always 3 components (required when rotating)
+ rotate to RTZ, taking the sensor orientation into consideration
+ rotate to UVW triaxial orthogonal frame of the T120PH Nanometrics sensor
  (useful for isolating spurious signals to sensor components)
+ debugging plots plots: spectrograms, instrument response

Additonal features
+ access embargoed data sets from IRIS (requires user name and password)
+ interface with LLNL database of nuclear explosion and earthquake waveforms (see below)

contributors (alphabetical):
Celso Alvizuri
Lion Krischer
Vipul Silwal
Kyle Smith
Cole Richards
Carl Tape
Liam Toney

==============================

MAIN SCRIPTS:
run_getwaveform.py
event_input.py         -- source parameters for example events

MAIN FUNCTIONS:
getwaveform.py         -- to get data from IRIS/BK/LLNL databases

check_getwaveform.bash -- run example events and check the output files against pre-saved versions
                         
getwaveform_saved
   check_filenames     -- directory of list of files for example events in event_input.py

==============================

pysep interfaces with the databases of:
W. Walter et al. (2006)
  An assembled western United States dataset for regional seismic analysis
  ISSO 9660 CD, LLNL release UCRL-MI-222502
The database can be downloaded from IRIS DMC at
  https://ds.iris.edu/mda/18-001
The package needed to access these waveforms is here:
   https://github.com/krischer/llnl_db_client
Follow the install instructions, then set a symbolic link as
   ln -s /PATH_TO_LLNL_CLIENT/llnl_db_client .

==============================

pysep's People

Contributors

vsilwal avatar kslytherin avatar carltape avatar celsoa avatar csrichards2 avatar rmodrak avatar dbgraybeal avatar liamtoney avatar thurinj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.