obspy-data-api

Parse seismological waveform data into ObsPy Stream and Trace objects.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill obspy-data-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obspy-data-api
Source: https://github.com/KaiserWhoLearns/skillsbench/tree/main/tasks/earthquake-location-determination/environment/skills/obspy-data-api
Command: npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill obspy-data-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The ObsPy Data API provides an overview of ObsPy's core data API for processing seismological data; it helps parse common file formats and manipulate data into standard objects for downstream use in signal processing routines or SeisBench workflows.

Core Features & Use Cases

  • Waveform handling: read seismograms from standard formats (SAC, MiniSEED, SEED/SEISAN, and more) into a Stream of Trace objects with accessible metadata via Trace.stats.
  • Metadata and operations: access and modify header fields such as network, station, location, channel, starttime, sampling_rate, and perform operations like taper, filter, resample, and remove_response.
  • Use Case: researchers load waveform data, apply processing workflows, and prepare data for seismology experiments or benchmarking pipelines.

Quick Start

Load waveform data using ObsPy's read() function to demonstrate core API capabilities.

Frequently Asked Questions about obspy-data-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read seismological waveform data from MiniSEED or SAC files in Python?

Use ObsPy's read() function to load seismological waveform data from standard formats like MiniSEED and SAC into a Stream of Trace objects for downstream signal processing.

How do I access and modify seismogram metadata like network and sampling rate?

Access and modify seismogram metadata via the Trace.stats object, which exposes header fields including network, station, location, channel, starttime, and sampling_rate for waveform manipulation.

Can I apply signal processing operations like filtering and resampling to seismological waveforms?

Yes, you can apply signal processing operations like taper, filter, resample, and remove_response directly to seismological waveform data using ObsPy's core data API.

Does this ObsPy data API workflow integrate with benchmarking pipelines?

Yes, this ObsPy data API workflow is designed to integrate with benchmarking pipelines, preparing parsed seismological waveform data for signal processing routines and SeisBench workflows.

What Python environment do I need to parse seismological data formats?

You need a Python environment with ObsPy installed to parse common seismological data formats and manipulate standard Stream and Trace objects.

What is the best way to prepare seismological waveform data for signal processing experiments?

Load waveform data using read(), manipulate the resulting Stream and Trace objects, and apply operations like filter and remove_response to prepare data for seismology experiments.