Seismicity (computer exercises) A. Kato (Nagoya Univ.) and S. Nakagawa (ERI, Univ. of Tokyo) • Overview of WIN system • Picking the waveforms • Viewing the seismicity map
PowerPoint • Overview of WIN system
• Interactive picking utility
Manual: http://eoc.eri.u-tokyo.ac.jp/WIN/show_man_index_en.html
Source code: http://eoc.eri.u-tokyo.ac.jp/pub/win/
Overview of WIN system
A part of WIN commands • win: Interactive picking and measurement
utility. • wadd: Add win files which have different
channels and same times. • cat: Add win files which have same
channels
and adjacent time range. • wed: Edit win file by time range and
channels. • wch: Select filter in channels. • wck: Check a win
format file. • dewin: Extract one channel from win file to
ascii etc. • sendt_raw, recvt, relay: Transmit win data over IP. •
order, wdisk: Save win data to disk from memory.
Usage of interactive win • Open terminal emulator window.
• Prepare win.prm and directory for pick files in your current
directory. % cp /afs/ictp/public/shared/smr2609/win/win.prm
.8
% mkdir picks 8
• (If need,) setenv (or export) WINDOW and WINDOWID, set path % set
path=(/afs/ictp/public/shared/smr2609/win/bin $path)8
• Execute win command in your terminal. We prepare 2 events. You
choose prefer one. (picking) % win 140611.195231 8
% win 140806.011725 8
8 9 10 11 12 13 14
CH num. Station Comp.
2: Display paste-up
4: Display map
6: Quit program
If you want to quit without saving your newly picks, click right
button.
7: Refresh window
When has hypocenter, right click makes station orders by epicentral
distance,
and middle click makes orders by default.
8: Show cursor position and picker. Select labels, such as NOISE,
FAR, etc.
9: Move monitor waveforms up or down (channels direction). Left
click is up, right click is down.
10: Move monitor waveforms forward or backward (time direction).
Left is back, right is forward.
11: Save picks to file
12: Do hypocenter determination using external program
13: Do automatically picking and hypocenter determination. It needs
an initial hypocenter.
14: Do event detection and automatically picking, hypocenter
determination
Waveform (one-trace) window
1
2
3
1. Click OPEN button. 2. Click GET button. (white/black reverse) 3.
Click a desired part of waveform in monitor window.
Monitor window
1 2
3 4
5 6
1: CH number
2: Station and component. Click to move up (left button) or down
(right button) channel.
3: Set P-wave polarity. Left: up, right: down, middle:
unknown.
4: Change amplitude scale; left: expand, right: shrink. Middle
click integrate the waveform.
5: Change time window; left: expand, right: shrink. Middle click
picks maximum amplitude in this window.
6: Move waveform for time direction; left: forward, right:
backward.
7: Select preset filter
8: Get a waveform here from monitor window. Click GET icon, then
click a waveform in monitor window.
9: Output the waveform to file. Format is given in win.prm.
10: Destroy this window.
11: Pick the waveform. Left: P wave, middle: S wave, and right: F
phase.
Drag defines the region of errors.
In waveform (one-trace window): Left button with right drag: Pick P
phase with errors Middle button with right drag: Pick S phase with
errors. {L,M} button with Left drag: cancel {P,S} pick.
Solid lines and width of line indicate your picks and error,
respectively.
Exclamation mark indicates the time of maximum amplitude.
Dashed lines show theoretical arrival times.
Automatic picking option: 1. {L,M} button with Right drag: Set
region to automatic picking. 2. {L,M} click on CH number. Then
auto-pick {P,S} with errors.
1. Hypocenter location After picking some stations (minimum
requires are 4 for P and 1 for S), click HYPO button. A output of
hypocenter location program is shown on your terminal
emulator.
2. Save picking (and hypocenter) data Click SAVE button for saving
your picked phase data in your picks directory.
3. Map viewing Click MAP button.
4. P polarity distribution viewing Click MECH button.
MAP window
rotate
Display station nameClick to toggle to show error ellipsoid or not
Return window
MECH window
+: up -: down ?: unknown
determined by JMA
Click MECH button
determined by JMA
Answer for picking
Click MECH button
determined by JMA
Answer for picking
Viewing the seismicity map
In your terminal emulator, just type the following command. Then
open the MAP window.
% win -m
1: Location of cursor (Latitude, Longitude, Depth) 2: Time-Space
plot.
Click T-S button, then drag the mouse on the map to select region.
To clear Time-Space plot, click RFSH button.
3: Toggle displaying the station name. 4: Toggle displaying the
cross-section views. 5: Hardcopy. 6: Quit the program. 7: Refresh
the window.
Left: just refresh. Middle: set the time range between most oldest
and newest, and refresh. Right: reload the database (time range
does not change) and refresh.
1 2 3 4 5 6
7
1: Pickers. Left: exclude automatically processing data. Middle:
ALL data. Right: your own picked data.
2: Time window. Left/Right: Up/ Down, Middle: set min/max. 3: Depth
range. Left/Right: Up/ Down. 4: Magnitude range. Left/Right: Up/
Down. 5: Blast. +BL indicates including blast. Click to toggle. 6:
Number of hypocenters.
Click this button and select region in map window, display the
hypocenter information. 7: Symbol sizes of magnitude. Click to
change the size. 8: Angle of map. To change angle, click this
button to set the angle, then click RFSH button. 9: Change the map
size. Left, Middle, Right clicks correspond to small, middle, wide
area. 10: Scale size. 11: Same as right click of RFSH button.
When click the arbitrary point in the map window, move the map at
the center of this.
Left click: enlarge Middle click: just move Right click:
reduce
1. Reduce or enlarge map 2. Change time range
before 2011/3/11 after 2011/3/11
We prepare the hypocenter database determined by JMA (Japan
Meteorological Agency) between 2010/1/1 and 2011/12/31.
The Pacific plate and Philippine Sea plate subduct beneath Japan.
You can see the complex tectonic settings from the
seismicity.
On 2011/3/11, Mw 9.0 Tohoku earthquake occurred. You can also see
the seismicity change.
(JAPAN)
References • WIN System
– Urabe, T. and S. Tsukada (1992), win – A Workstation Program for
Processing Waveform Data from Microearthquake Networks (in
Japanese), 1992 Fall Meeting, Seismol. Soc. of Jpn, P41.
– Urabe, T. and S. Tsukada (1991), A workstation-assisted
processing system for waveform data from microearthquake networks
(in Japanese), 1991 Spring Meeting, Seismol. Soc. of Jpn,
C22-P18.
• WIN Format – Urabe, T. (1994), A Common Format for Multi-Channel
Earthquake Waveform
Data (in Japanese), 1994 Fall Meeting, Seismol. Soc. of Jpn,
P24.
• WIN Data Transmission over IP network – Urabe, T. and T. Takanami
(1994), Real-Time Transmission of Seismic Waveform
Data on IP Networks (in Japanese), 1994 Fall Meeting, Seismol. Soc.
of Jpn, P25. – Uehira, K. and T. Urabe (1994), Real-Time Data
Combination System among
Seismic Networks Using IP Network (in Japanese), 1994 Fall Meeting,
Seismol. Soc. of Jpn, P26.
• Hypocenter determination – Hirata, N. and M. Matsu’ura (1987),
Maximum-likelihood estimation of
hypocenter with origin time eliminated using nonlinear inversion
technique, Phys. Earth Plant. Inter., 47, 50-61.
WIN format
• Specification 1. Variable length second block with time stamp 2.
Channel block with header information 3. Dynamically variable
sampling rate and sample size 4. Waveform data and their channels
information are
managed separately
• Feature 1. Edit by channel and time easily 2. Different sampling
rates and sample sizes in a block 3. Number of channels is
innumerable (up to 65535) 4. Data compression
WIN format on disk, UDP/IP
• disk file format
+------+-----------------+-----+-------+-----------------+---
|Size | | ... | Size | |
+------+-----------------+-----+-------+-----------------+---
| |(resend)|'0xA0'|Size of | | |
+-------+--------+------+--------+----------------+----+-----
WIN second block
Second block (Variable length)
|year/month/day/ | Block | ... | Block |
| 6 B |Variable length| | Variable length |
+------------------+---------------+-----+-----------------+
+---------------+-----------------+
+---------------+----------+-----------+
• Big endian
3: 3 bytes
4: 4 bytes
View WIN data
• View WIN data using od command % cat /dat/trg/100125.202223 | dd
conv=swab | od -x | head 0000000 0001 5db3 1001 2520 2203 78f3 2064
ffff 0000020 fdce 0015 fffd fff8 ffe3 ffff ffde 0031 0000040 0036
fffd ffe6 ffa6 ffc7 fffe 0048 0027 0000060 fff1 003b 0013 fff8 001d
ffe9 fff9 fff8 0000100 ffea 001e 000b ffc0 ffda 004b 0026 0025
0000120 0008 ffb8 ffc5 ffec 003f 0037 0014 ffc2 0000140 ffcc 0005
000c 0041 ffd7 ffdd 0032 002d 0000160 0012 fffe 001a ffbd ffe1 002b
0008 fff4 0000200 ffd4 0023 002c 0048 001e ffaa ffb9 ffc5 0000220
0069 003b ffcf ffe4 ffd0 001c 000e 0029
Block size Date Time CH num. Sample size
Sampling rate
Sampling rate: 0x064 == 100 Hz Sample size: 2 => 2 bytes :
-32768 ~ 32767 Date, Time: 2010/01/25 20:22:03
Format conversion (1)
• WIN to SAC
• MiniSEED to WIN
personally get it by A. Kato & S. Nakagawa)
• WIN to SEG-Y
– wintosegy.pl (private use)
Format conversion (2)
• SAC to WIN
• SEG-Y to WIN
integer. So, it is need to divide by a proper
value. In these cases, we make a conversion
program for each study.
WIN channels table #[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
[12] [13] [14] [15] [16] [17] [18]
0003 1 20 FUJ U 3 10 234 m/s 1.0 0.7 54 9.77e-3 35.3103 138.6789
1040 0.0 0.0
[1] Channel number (2byte, hexadecimal) [2] Record flag [3]
Transmission delay (ms) [4] Station name (< 10 characters) [5]
Component (< 6 characters). “U”, “N” or “E” [6] Scale size of
monitor window in win command [7] Quantization bit rate of A/D
conversion [8] Sensor sensitivity (V/(input unit)) = sens [9] Input
unit at [8]. “m”, “m/s”, or “m/s/s” [10] Sensor natural period (s)
[11] Damping factor of sensor [12] Gain between sensor and A/D (dB)
= g [13] Quantization step size of A/D (V) = adc [14] Station
Latitude (degree) North is + [15] Station Longitude (degree) East
is + [16] Station Altitude (m) [17] Station correction for P wave
(s) [18] Station correction for S wave (s)
Factor for converting physical value
• User registration is required.
• Redistribution data is inhibited.
Acknowledgement