ObsPy Tutorial¶
Note
A one-hour introduction to ObsPy is available at YouTube.
This tutorial does not attempt to be comprehensive and cover every single feature. Instead, it introduces many of ObsPy’s most noteworthy features, and will give you a good idea of the library’s flavor and style.
A pdf version of the Tutorial is available here.
There are also IPython notebooks available online with an introduction to Python (with solutions/output), an introduction to ObsPy split up in multiple chapters (again, versions with/without solutions available) and a brief primer on data center access and visualization with ObsPy. There are also nice Jupyter notebooks with an introduction to matplotlib.
Introduction to ObsPy¶
- 1. Python Introduction for Seismologists
- 2. UTCDateTime
- 3. Reading Seismograms
- 4. Waveform Plotting Tutorial
- 5. Retrieving Data from Data Centers
- 6. Filtering Seismograms
- 7. Downsampling Seismograms
- 8. Merging Seismograms
- 9. Beamforming - FK Analysis
- 10. Seismogram Envelopes
- 11. Plotting Spectrograms
- 12. Trigger/Picker Tutorial
- 13. Poles and Zeros, Frequency Response
- 14. Seismometer Correction/Simulation
- 15. Clone an Existing Dataless SEED File
- 16. Export Seismograms to MATLAB
- 17. Export Seismograms to ASCII
- 18. Anything to MiniSEED
- 19. Beachball Plot
- 20. Basemap Plots
- 21. Interfacing R from Python
- 22. Coordinate Conversions
- 23. Hierarchical Clustering
- 24. Visualizing Probabilistic Power Spectral Densities
- 25. Array Response Function
- 26. Continuous Wavelet Transform
- 27. Time Frequency Misfit
- 28. Visualize Data Availability of Local Waveform Archive
- 29. Travel Time and Ray Path Plotting
- 30. Cross-Correlation Pick Correction
- 31. Cross-Correlation Detector
- 32. Handling custom defined tags in QuakeML and the ObsPy Catalog/Event framework
- 33. Handling custom defined tags in StationXML with the Obspy Inventory
- 34. Creating a StationXML file from Scratch
- 35. Connecting to a SeedLink Server
Advanced Exercise¶
In the advanced exercise we show how ObsPy can be used to develop an automated processing workflow. We start out with very simple tasks and then automate the routine step by step. For all exercises solutions are provided.