Code Monkey home page Code Monkey logo

seisdq's Introduction

SeisDQ

Seismic Data Query

SeisDQ is a flexible seismic framework to fetch seismic data from online or local database. It can be implimented easily for other purpose.

Brief history of SeisDQ

When I was a graduate student, I used to process raw seismic data recorded by reftek rt130. The first step is convert all data to miniseed and then event data was cutted. I decided to write a script to directly fetch raw data from data achive (GetEvent.py).

  • Breq.py

When I started to do my research dependently, I need to request data from IRIS (Incorporated Research Institutions for Seismology). I wrote a script to apply for data through the breq_fast.

  • splitlab

I write scripts to prepare data for splitlab to estimate shear wave splitting.

Found Problem

  • The codes above are similar.
  • It is difficult to maintain the code.

They all contains travel time calculation, data application, data preprocess ( convert to proper format, add header information etc.)

At last, I decided to refactor the code.

requirements

  • python of version 3 (3.6 or higher recommended),
  • obspy

What's have been done

  • fetch data from local disk recorded by reftek rf130
  • generate breq_fast data request and send to IRIS

What's need to be done

  • [] using obspy to read reftek data to get rid of dependence on reftek programs.

installation && ussage

download the source code install requirements:

  1. pip install requirements.txt

change and run iris_breq.py:

implimention

In order to impliment this code for other purpose, please refer to the iris_breq.py

seisdq's People

Watchers

James Cloos avatar qimin liu 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.