Developmental release v1.0
Joseph Stanis, joestanis@gmail.com
A sample tool built to satisfy the coding exercise for USGS Supervisory Computer Scientist vacancy USGS-SAC-25-12553801-DE-RM. This project is built using specific objectives while emphasizing code efficiency, readability, and adherence to best practices.
This project is tested to run inside Google Colab. It should also run in any environment with access to Project Jupyter, Python 3, and associated dependencies.
- Read shake trace data from miniSEED files.
- Instantiate a new SQLite database.
- Extract the shake traces.
- Transform and load the traces into the database.
- Generate visual representations of the traces, collected samples, and collection site locations.
- Project Jupyter, free and available from https://jupyter.org/
- Python version 3, free and available from https://www.python.org/
- ObsPy library for Python, https://docs.obspy.org/, installable as a module via pip.
- Cartopy library for Python, https://scitools.org.uk/cartopy/docs/latest/, installable as a module via pip.
JoeStanis_USGS_SeismicData.ipynb
- Jupyter notebook containing Python scripts which read and process the shake trace data.
data/SEP01.mseed
- Earthquake shake data in miniSEED format.data/SEP02.mseed
- Earthquake shake data in miniSEED format.data/SEP03.mseed
- Earthquake shake data in miniSEED format.
README.md
- This file, documents the project release version and overview information.LICENSE.md
- Software release license and copyright.DISCLAIMER.md
- USGS approved software release disclaimer.CHANGELOG.md
- History of any project release revisions.CODE_OF_CONDUCT.md
- Declaration to abide by the USGS Code of Scientific Conduct.code.json
- USGS coding metadata describing the project.
usgs_miniseed_data.sqlite.db
- SQLite database containing the ETL miniSEED data.
Tip
If using Google Colab to run this notebook the generated database file should be accessible in the Files
pane.
This project is released for public use, distribution is unlimited.