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 [2018/05/03 16:57] wphase [RUNA scripts] |
wphase:documentation [2021/10/22 18:14] wphase [Extracting data from TGZ including SAC and PZ files (e.g., from WILBER / NIED)] |
||
---|---|---|---|
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 file) including SAC and SAC_PZ (poles and zeros) files. This can be done 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 currently supported: namely WILBER (default) and NIED. Using the default WILBER (i.e. IRIS) 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 tgz archive can be stated explicitly by running | ||
+ | <code>${WPHASE_HOME}/bin/tgz2DATA_org.py path_to_tgz_archive.tgz wilber</code> | ||
+ | |||
+ | Using the NIED format, SAC_PZ files should end with ".zp" and SAC file names can have any format. Extraction from a NIED tgz 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 ==== |