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 [2018/05/03 16:57]
wphase [RUNA scripts]
wphase:documentation [2021/10/22 18:30]
wphase [Extracting data from a gzipped tar archive]
Line 88: Line 88:
  
 ----- -----
 +
 +==== Extracting data from a gzipped tar archive ====
 +As SEED volumes are no longer supported, waveforms and instrument response can also be retrived from a gzipped tar archive (hereafter referred to as "​tgz"​) including SAC and SAC_PZ (poles and zeros) files. Instead of using the "​extract.csh"​ script to extract data from SEED, we can then extract data from a tgz archive using: ​
 +<​code>​${WPHASE_HOME}/​bin/​tgz2DATA_org.py path_to_tgz_archive.tgz</​code> ​
 +where "​path_to_tgz_archive.tgz"​ is the path to the tgz archive including SAC and SAC_PZ files. ​
 +
 +Two tgz archive formats are supported: WILBER (default) and NIED. 
 +
 +Using the WILBER format, SAC files should be named with a "​.SAC"​ or "​.sac"​ extension and SAC_PZ file names should start with "​SAC_PZ"​. Although this is the default format, extraction from a WILBER archive can be stated explicitly by running
 +<​code>​${WPHASE_HOME}/​bin/​tgz2DATA_org.py path_to_tgz_archive.tgz wilber</​code>  ​
 +
 +Using the NIED tgz archive format, SAC_PZ files should end with "​.zp"​ and SAC file names can have any format (but should not end with "​.zp"​). Extraction from a NIED archive can be done using 
 +<​code>​${WPHASE_HOME}/​bin/​tgz2DATA_org.py path_to_tgz_archive.tgz nied</​code> ​
 +
 +---
  
 ==== Calculating Synthetics, deconvolution and filtering ==== ==== Calculating Synthetics, deconvolution and filtering ====
wphase/documentation.txt · Last modified: 2022/01/10 07:39 by wphase