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:38] wphase |
wphase:documentation [2015/01/23 19:30] wphase |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== W-phase documentation ====== | ====== W-phase documentation ====== | ||
+ | In addition to this page, you should probably have a look to [[wphase:tutorial|this tutorial page]]. | ||
===== Installation ===== | ===== Installation ===== | ||
Line 20: | Line 21: | ||
</code> | </code> | ||
+ | For more details on using git for W-phase, you can read [[wphase:repository|this dedicated page.]] | ||
==== Dependencies ==== | ==== Dependencies ==== | ||
Line 27: | Line 29: | ||
- gcc and gfortran | - gcc and gfortran | ||
- python2.7 | - python2.7 | ||
- | - You have to install pylab and basemap (matplotlib toolkit) to run some python scripts which make figures. | + | - You have to install numpy, matplotlib and basemap to run some python scripts which make figures. |
- GMT4 | - GMT4 | ||
+ | |||
+ | To install these dependencies on MacOs, you can refer to [[wphase:macos|this page]]. | ||
==== Building the code ==== | ==== Building the code ==== | ||
Line 66: | Line 70: | ||
----- | ----- | ||
- | ===== How to run the W-phase code ===== | + | ===== How to run W-phase ===== |
+ | |||
+ | You should have a look to [[wphase:tutorial|this tutorial page]]. | ||
==== Preparing directories, i_master and CMTSOLUTION ==== | ==== Preparing directories, i_master and CMTSOLUTION ==== | ||
Line 73: | Line 79: | ||
* i_master: a file containing other parameters such as the band-pass filter parameters, minimum and maximum distances, etc. | * i_master: a file containing other parameters such as the band-pass filter parameters, minimum and maximum distances, etc. | ||
- | The format of these files are described in [[wphase#Notes on file formats|notes on file formats]]. | + | The format of these files are described in [[wphase:documentation#Data formats|the file formats section]]. |
Path to SEED file(s) must be correctly specified after the keyword 'SEED:' in the i_master file. If multiple SEED files are used for the same inversion, each of them must be referenced properly in i_master using one 'SEED:' line per file. | Path to SEED file(s) must be correctly specified after the keyword 'SEED:' in the i_master file. If multiple SEED files are used for the same inversion, each of them must be referenced properly in i_master using one 'SEED:' line per file. | ||
Line 79: | Line 85: | ||
----- | ----- | ||
- | ==== 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> |