User Tools

Site Tools


wphase:documentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wphase:documentation [2015/01/27 17:49]
wphase [Getting the code]
wphase:documentation [2015/08/04 13:55]
wphase [Plot routines]
Line 27: Line 27:
   - gcc and gfortran   - gcc and gfortran
   - python2.7 (or later)   - python2.7 (or later)
-  - You have to install numpy, matplotlib ​and basemap to run some python scripts which make figures.+  - You have to install numpy, matplotlibbasemap ​and netCDF4 ​to run some python scripts which make figures.
   - rdseed   - rdseed
   - GMT4   - GMT4
  
-To install these dependencies on MacOs, ​you can refer to [[wphase:​macos|this page]].+To install these dependencies on MacOs, [[wphase:​macos|you can refer to this page]].
 ==== Building the code ==== ==== Building the code ====
  
Line 178: Line 178:
  
 ----- -----
-==== Plot routines ====+====== Plot routines ​======
  
 All the plotting scripts are coded using python and the module pylab which have to be installed before using them. The module basemap is also needed for plotting maps but it is optional (even if we recommend to install it). All the plotting scripts are coded using python and the module pylab which have to be installed before using them. The module basemap is also needed for plotting maps but it is optional (even if we recommend to install it).
Line 187: Line 187:
    * In order to plot complete seismograms individually and place station on a map: <​code>​${WPHASE_HOME}/​bin/​traces_global.py</​code>​ which draw complete seismograms and show station location on a map (if basemap is available). Please use <​code>​${WPHASE_HOME}/​bin/​traces_global.py -h</​code>​ for more details on available options.    * In order to plot complete seismograms individually and place station on a map: <​code>​${WPHASE_HOME}/​bin/​traces_global.py</​code>​ which draw complete seismograms and show station location on a map (if basemap is available). Please use <​code>​${WPHASE_HOME}/​bin/​traces_global.py -h</​code>​ for more details on available options.
    * To plot concatenated waveforms:<​code>​${WPHASE_HOME}/​bin/​make_cwp.py</​code>​ For more details on available options and arguments see <​code>​${WPHASE_HOME}/​bin/​make_cwp.py -h</​code>​ to see the options.    * To plot concatenated waveforms:<​code>​${WPHASE_HOME}/​bin/​make_cwp.py</​code>​ For more details on available options and arguments see <​code>​${WPHASE_HOME}/​bin/​make_cwp.py -h</​code>​ to see the options.
 +
 +-------
 +
 +=== Using ETOPO01 Global Relief Model ===
 +
 +ETOPO01 is a 1 arc-minute global relief model of the Earth'​s surface
 +provided by Amante et al. (2009):
 +<​http://​www.ngdc.noaa.gov/​mgg/​global/​global.html>​
 +
 +If Basemap is installed, you can optionally draw ETOPO01 topography and
 +bathymetry. To do so, the path to the ETOPO01 netCDF file must be
 +assigned to the environment variable $ETOPOFILE which can be
 +done in your .tcshrc fil (or .bachrc, .cshrc, etc.). The make_grids.py
 +script have been tested only for grid-registered netCDF file of the
 +ETOPO1 bedrock file available at:
 +<​http://​www.ngdc.noaa.gov/​mgg/​global/​relief/​ETOPO1/​data/​bedrock/​grid_registered/​netcdf/​ETOPO1_Bed_g_gmt4.grd.gz>​
 +
  
 ------- -------
wphase/documentation.txt · Last modified: 2022/01/10 07:39 by wphase