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
wphase:documentation [2022/01/10 07:30]
wphase [Extracting data from a gzipped tar archive]
wphase:documentation [2022/01/10 07:39] (current)
wphase [Extracting data from a gzipped tar archive]
Line 97: Line 97:
 Two tgz archive formats are supported: WILBER (default) and NIED.  Two tgz archive formats are supported: WILBER (default) and NIED. 
  
-Using the WILBER format, the tgz archive should include SAC files named with a "​.SAC"​ or "​.sac"​ extension and SAC_PZ file names starting with "​SAC_PZ"​. If data is ordered using the [[https://​ds.iris.edu/​wilber3|IRIS Wilber 3 system]], this format can be obtained directly by selecting "​Output format: SAC binary"​ (little or big-endian) ​ and "​Bundle As: gzipped tar archive"​ in the final Request Data page. Once the tgz archive is prepared, extraction from a WILBER formatted archive is done by running: +Using the WILBER format, the tgz archive should include SAC files named with a "​.SAC"​ or "​.sac"​ extension and SAC_PZ file names starting with "​SAC_PZ"​. If data is ordered using the [[https://​ds.iris.edu/​wilber3|IRIS Wilber 3 system]], this format can be obtained directly by selecting "​Output format: SAC binary"​ (little or big-endian) ​ and "​Bundle As: gzipped tar archive"​ in the final Request Data page (see below) 
-<​code>​${WPHASE_HOME}/​bin/​tgz2DATA_org.py path_to_tgz_archive.tgz</​code>​  + 
-Although ​this is the default format, ​extraction ​can also be stated explicitly by running +{{:​wilber3_screenshot.png?​300|{{:​wphase:​wilber3_screenshot.png?​300|}} 
-<​code>​${WPHASE_HOME}/​bin/​tgz2DATA_org.py path_to_tgz_archive.tgz wilber</​code>  ​+ 
 +Once the tgz archive is prepared, extraction from a WILBER formatted archive is done by running: 
 +<​code>​${WPHASE_HOME}/​bin/​tgz2DATA_org.py path_to_tgz_archive.tgz ​wilber</​code>​  
 +As this is the default format, ​the "​wilber"​ option ​can be removed from the command line.
  
 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  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 
wphase/documentation.txt · Last modified: 2022/01/10 07:39 by wphase