Skip to content
Skill

obspy

by SteadfastAsArt

AI Summary

ObsPy booster enables seismic data processing, waveform analysis, and earthquake research by providing access to read multiple seismic formats, fetch FDSN data, and perform signal processing tasks. Geoscientists, seismologists, and geophysics researchers benefit from streamlined earthquake data workflows.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "obspy" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory (6 files)
mkdir -p .claude/skills/obspy && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/obspy/SKILL.md "https://raw.githubusercontent.com/SteadfastAsArt/geoscience-skills/main/obspy/SKILL.md" && mkdir -p .claude/skills/obspy/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/obspy/references/channel_codes.md "https://raw.githubusercontent.com/SteadfastAsArt/geoscience-skills/main/obspy/references/channel_codes.md" && mkdir -p .claude/skills/obspy/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/obspy/references/fdsn_clients.md "https://raw.githubusercontent.com/SteadfastAsArt/geoscience-skills/main/obspy/references/fdsn_clients.md" && mkdir -p .claude/skills/obspy/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/obspy/references/troubleshooting.md "https://raw.githubusercontent.com/SteadfastAsArt/geoscience-skills/main/obspy/references/troubleshooting.md" && mkdir -p .claude/skills/obspy/scripts && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/obspy/scripts/batch_process.py "https://raw.githubusercontent.com/SteadfastAsArt/geoscience-skills/main/obspy/scripts/batch_process.py" && mkdir -p .claude/skills/obspy/scripts && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/obspy/scripts/fetch_earthquake.py "https://raw.githubusercontent.com/SteadfastAsArt/geoscience-skills/main/obspy/scripts/fetch_earthquake.py"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Seismology data processing with ObsPy. Helps with reading seismic waveforms, filtering/processing time series, fetching data from FDSN services, and earthquake analysis. Use when Claude needs to: (1) Read seismic data formats (MiniSEED, SAC, GSE2, SEGY), (2) Filter or process waveforms, (3) Fetch data from IRIS/USGS/FDSN services, (4) Search for earthquakes by magnitude/location, (5) Plot seismograms or spectrograms, (6) Remove instrument response, (7) Analyze station metadata.

Quick Reference

`python from obspy import read, UTCDateTime from obspy.clients.fdsn import Client

Read local file (MiniSEED, SAC, etc.)

st = read("data.mseed") tr = st[0] # First trace print(tr.stats) # Metadata

Fetch from FDSN

client = Client("IRIS") t = UTCDateTime("2023-02-06T01:17:00") st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 3600) st.plot() `

Key Classes

| Class | Purpose | |-------|---------| | Stream | Container for multiple Trace objects | | Trace | Single waveform with data + metadata | | UTCDateTime | Precise time handling | | Inventory | Station/channel metadata | | Catalog | Earthquake event information |

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
12 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars12
Forks1
Issues0
Updated2mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code
Cursor
Copilot