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 [2021/10/22 18:22] wphase [Extracting data from a gzipped tar archive] |
wphase:documentation [2021/10/22 18:30] wphase [Extracting data from a gzipped tar archive] |
||
---|---|---|---|
Line 90: | Line 90: | ||
==== Extracting data from a gzipped tar archive ==== | ==== 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. This can be done using: | + | 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> | <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. | + | 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: 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 | + | 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> | <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 | + | 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> | <code>${WPHASE_HOME}/bin/tgz2DATA_org.py path_to_tgz_archive.tgz nied</code> | ||