This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wphase:documentation [2014/03/19 01:01] wphase |
wphase:documentation [2015/01/23 16:42] wphase |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== W-phase documentation ===== | + | ====== W-phase documentation ====== |
- | ==== Installation ==== | + | ===== Index ===== |
+ | * [[wphase:documentation|Documentation]] | ||
+ | * [[wphase:tutorial|Tutorial]] | ||
+ | * [[wphase:repository|Repository]] | ||
+ | * [[wphase:realtime|Real-time]] | ||
+ | * [[wphase:todo|Todo]] | ||
+ | * [[wphase:discussion|Discussion]] | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | ==== Getting the code ==== | ||
+ | |||
+ | Currently, the W-phase package is hosted as a github repository. Ask Zacharie Duputel <zacharie.duputel@unistra.fr> or Luis Rivera <luis.rivera@unistra.fr> for access to the repository. | ||
+ | |||
+ | Check out W-phase repository: | ||
+ | <code> | ||
+ | git clone https://github.com/eost/wphase.git wphase_package | ||
+ | </code> | ||
+ | |||
+ | To update your W-phase repository (pull changes) | ||
+ | <code> | ||
+ | cd /to/the/wphase/directory/ | ||
+ | git pull origin master | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ==== Dependencies ==== | ||
+ | |||
+ | The w-phase package have only been tested on Unix and Linux computers. You will need the following: | ||
+ | - csh shell | ||
+ | - gcc and gfortran | ||
+ | - python2.7 | ||
+ | - You have to install pylab and basemap (matplotlib toolkit) to run some python scripts which make figures. | ||
+ | - GMT4 | ||
+ | |||
+ | ==== Building the code ==== | ||
To install the code, we must first setup a few environment variables. If you use csh or tcsh: | To install the code, we must first setup a few environment variables. If you use csh or tcsh: | ||
Line 37: | Line 72: | ||
----- | ----- | ||
+ | |||
+ | ===== How to run W-phase ===== | ||
==== Preparing directories, i_master and CMTSOLUTION ==== | ==== Preparing directories, i_master and CMTSOLUTION ==== | ||
Line 49: | Line 86: | ||
----- | ----- | ||
- | ==== Extracting data from (mini)SEED file(s) ==== | + | ==== Extracting data from SEED ==== |
Once the i_master and CMTSOLUTION files are created, we can extract waveforms and instrument response parameters and perform a rough screening by epicentral distance. This can be done using: | Once the i_master and CMTSOLUTION files are created, we can extract waveforms and instrument response parameters and perform a rough screening by epicentral distance. This can be done using: | ||
<code>${WPHASE_HOME}/bin/extract.csh</code> | <code>${WPHASE_HOME}/bin/extract.csh</code> | ||
Line 157: | Line 194: | ||
- | ==== Notes on file formats ==== | + | ===== Data formats ===== |
=== CMTSOLUTION FILE === | === CMTSOLUTION FILE === |