-
Notifications
You must be signed in to change notification settings - Fork 29
/
slides.html
296 lines (266 loc) · 10.5 KB
/
slides.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<!--
Google HTML5 slide template
Authors: Luke Mahé (code)
Marcin Wichary (code and design)
Dominic Mazzoni (browser compatibility)
Charles Chen (ChromeVox support)
URL: http://code.google.com/p/html5slides/
-->
<html>
<head>
<title>ObsPy - Infrastructure</title>
<meta charset='utf-8'>
<script
src='slides.js'></script>
</head>
<style>
.slides.template-default article.biglogo {
background: white url(images/obspy_logo_only_waveform_lightgray.svg) 10% 10% no-repeat !important;
}
.slides.template-default > article:not(.nobackground):not(.biglogo) {
background: white url(images/obspy_logo_only_waveform_lightgray.svg) 730px 550px no-repeat scroll !important;
}
ol:first-child {
margin-top: 0;
}
ol li::before {
content: '' !important;
}
</style>
<body style='display: none'>
<section class='slides layout-regular'>
<article>
<h1>
<img src="images/obspy-logo.png" width=700px />
</h1>
<p>
IRIS-EarthScope Short Course<br>
<small>Bloomington/IN, August 2015</small>
</p>
<p>
Tobias Megies<br>
<small>megies@geophysik.uni-muenchen.de</small>
</p>
</article>
<article>
<h1>
<img src="images/obspy-logo-borg.png" width=700px />
</h1>
<p>
IRIS-EarthScope Short Course</br>
<small>Bloomington/IN, August 2015</small>
</p>
<p>
Tobias Megies<br />
<small>megies@geophysik.uni-muenchen.de</small>
</p>
</article>
</section>
<section class='slides layout-regular template-default'>
<article>
<h3>
Program
</h3>
<ul>
<li>General Introduction (15 mins)</li>
<li>Basic Introduction to ObsPy (1.5-2 hours)</li>
<li>ObsPy Data Analysis Exercise (0.5-1 hour)</li>
</ul>
</article>
<article>
<h3>
Python!
</h3>
<ul>
<li> General purpose language <br> (in contrast to many other tools used in science)</li>
<li> Quick to learn, very concise and easy-to-read syntax</li>
<li> One of the most used programming languages</li>
<li> Free and Open Source, large scientific community</li>
<li> Cross-platform: Runs everywhere.. <small>(RaspberryPi, SuperMUC..)</small></li>
<li> No need to compile, <a href="https://ipython.org/">IPython</a> interactive shell and notebook available</li>
<li> "<a href="https://docs.python.org/3/library/">Batteries included</a>" <small>(debugging, http access, ...)</small></li>
<li> Mature third party libraries <small>(plotting, big data, ..)</small></li>
<li> Easy to interact with existing C and Fortran code</li>
</ul>
</article>
<article>
<h3>
Python!
</h3>
<ul>
<li> close connection to science, esp. seismology!<br/>
<small>
<code><i>Sir Bedevere:</i><br/> ...and that, my liege,<br/> is how we know the Earth to be banana-shaped.<br/>
<i>King Arthur:</i><br/> This new learning amazes me, Sir Bedevere. Explain again<br/> how sheep's bladders may be employed to prevent earthquakes.
</small></code>
</li>
</ul>
<a alt="monty python at youtube" href="https://www.youtube.com/watch?v=KrD16CBEJRs"><img src="images/monty_python_youtube.png" height="280" /></a>
</article>
<article>
<h3>
What is ObsPy?
</h3>
<p>
Provide complete Python framework to work with <i>all</i> types of seismological data
</p>
<ul>
<li>read/write file format support</li>
<ul>
<small>
<li>waveforms (MiniSEED, SAC, GSE, SEISAN, SEG-Y, SEG2, Q, CSS, ...)</li>
<li>station metadata (StationXML, dataless/full SEED, RESP, SACPZ)</li>
<li>event metadata (QuakeML, NDK, NLLOC, ZMAP, CNV, MCHEDR)</li>
</small>
</ul>
<li>data center access <small>(FDSN WS, ArcLink, SeedLink, Earthworm, NEIC, ...)</small></li>
<li>unified object classes (Waveforms, Events, Stations)</li>
<li>signal processing routines</li>
<ul>
<small>
<li>trimming, merging, tapering, rotating, resampling, interpolation, ...</li>
<li>filtering, instrument correction, ...</li>
<li>array analysis, CC routines, PPSD, event detection, TF misfits, ...</li>
</small>
</ul>
</ul>
</article>
<article>
<h3>
What is ObsPy?
</h3>
<img src="images/obspy_pillars.png" width="600" />
</article>
<article>
<h3>
What's the beauty of it?
</h3>
<ul>
<li>Runs on all Platforms
<ul>
<small>
<li>Windows, Mac, Linux, FreeBSD (Installers, Debian/Ubuntu repository, ...)</li>
<li>from RaspberryPi (35$) to SuperMUC (>150 Mio.$)</li>
</small>
</ul>
<li>Free and open source (LGPLv3)</li>
<li>Community pages: <a href="https://github.com/obspy/obspy">GitHub</a>, <a href="https://github.com/obspy/obspy/wiki">wiki</a>, <a href="https://docs.obspy.org/tutorial/">tutorials</a>, <a href="https://docs.obspy.org/gallery.html">gallery</a>, <a href="https://github.com/obspy/obspy/wiki#installation">installation instructions</a>, <a href="https://github.com/obspy/obspy/issues?state=open">ticket system</a>, <a href="http://lists.swapbytes.de/mailman/listinfo/obspy-users">mailing list</a></li>
<li>Well documented source code, auto-generated <a href="https://docs.obspy.org">API docs</a></li>
<li>Test-driven dev.<small> (<a href="https://tests.obspy.org">>1200 tests</a>, <a href="https://coveralls.io/r/obspy/obspy?branch=master">86% Test Coverage</a>, <a href="https://travis-ci.org/obspy/obspy">Travis</a>/<a href="https://ci.appveyor.com/project/obspy/obspy">AppVeyor</a> CI)</small></li>
<li>Reuses well established third-party code</li>
<ul>
<small>
<li>Python community: NumPy, <a href="https://docs.scipy.org/doc/scipy/reference/">SciPy</a>, <a href="http://matplotlib.org/gallery.html">matplotlib</a>, ...</li>
<li>Seismo community: libmseed, evalresp, taup, GSE UTI, ...</li>
</small>
</ul>
<li>Python!</li>
</ul>
</article>
<article>
<h3>
Do people actually use it?
</h3>
<br>
<img src="images/obspy-deb.0.9.2.png" width="800" />
</article>
<article>
<h3>
Do people actually use it?
</h3>
<br>
<img src="images/iris_access_hist.png" width="800" />
</article>
<article>
<h3>
Do people actually use it?
</h3>
<ul>
<li>>350 people on users <a href="http://lists.swapbytes.de/mailman/listinfo/obspy-users">mailing list</a></li>
<li><a href="https://scholar.google.com/scholar?cites=14340313791097274856&as_sdt=400005&sciodt=0,14&hl=en">88</a>+<a href="https://scholar.google.com/scholar?cites=11799560152216664274&as_sdt=400005&sciodt=0,14&hl=en">32</a> scientific citations</li>
<img src="images/all_stats.png" width="790" />
</ul>
</article>
<article>
<h3>
Who's behind it?
</h3>
<ul>
<li>development started in 2008 in Munich</li>
<li>~3-5 core developers</li>
<li><a href="https://docs.obspy.org/credits.html">~40 people from all around the world contributed</a></li>
<li>8000+ code commits</li>
<li><a href="https://github.com/obspy/obspy/issues">1000+ tickets and pull requests</a></li><br>
<li><b>Contributions welcome!</b></li>
<ul>
<small>
<li>Send pull requests, open tickets, drop a mail on the mailing list, ...</li>
</small>
</ul>
</ul>
</article>
<article>
<h3>
Use cases! -- <a href="http://www.lasif.net/">LASIF</a>
</h3>
<small>
<ul>
<li>complete end-to-end framework for large scale adjoint full seismic waveform inversion</li>
<img src="images/lasif1.jpg" height="450" />
</ul>
</small>
</article>
<article>
<h3>
Use Cases! -- <a href="http://www.lasif.net/">LASIF</a>
</h3>
<small>
<ul>
<li>complete end-to-end framework for large scale adjoint full seismic waveform inversion</li>
<img src="images/lasif2.png" height="450" />
</ul>
</small>
</article>
<article>
<h3>
Use Cases! -- <a href="https://github.com/bonaime/seedlink_plotter">SeedLink plotter</a>
</h3>
<small>
<ul>
<li>command line tool to display realtime waveform data acquired via seedlink</li>
<li>either single "drum" plot or multi station plot</li>
</ul>
<img src="images/seedlinkplotter1.png" height="350" />
<img src="images/seedlinkplotter2.png" height="350" />
</small>
</article>
<article>
<h3>
Use Cases! -- <a href="http://www.instaseis.net/">Instaseis</a>
</h3>
<small>
<ul>
<li>instantaneous calculation and visualization of broadband seismograms from Green's function databases generated with AxiSEM</li>
</ul>
<img src="images/instaseis1.png" height="450" />
</small>
</article>
<article>
<h2>
<small>... and now for something completely different:</small><br>
ObsPy Intro Hands-On
</h2>
</article>
<article>
<ul>
<li>download tar-gzipped obspy material (agenda website)</li>
<li>extract it somewhere <br/><code>$ cd some/where/<br/>$ tar -xf iris_earthscope_2015_obspy.tgz</code></li>
<li>move into the folder it generates <br/><code>$ cd iris_earthscope_2015_obspy</code></li>
<li>start ipython notebook <br><code>$ ipython notebook</code></li>
</ul>
<img src="images/ipython_screenshot.png" height="400" />
</article>
</section>
</body>
</html>