# Uncategorized

**URL:** https://discourse.obspy.org/c/uncategorized/1.md

[Latest](https://discourse.obspy.org/latest.md) · [Categories](https://discourse.obspy.org/categories.md) · [Tags](https://discourse.obspy.org/tags.md)

---

## [Welcome to Discourse! Read this First 📢](https://discourse.obspy.org/t/welcome-to-discourse-read-this-first/7)

<div class="topic-metadata">

**Author:** [@system](https://discourse.obspy.org/u/system)\
**Replies:** 0\
**Last updated:** [July 5, 2020, 12:49pm UTC](https://discourse.obspy.org/t/welcome-to-discourse-read-this-first/7 "2020-07-05T12:49:16Z")

</div>

ObsPy is an open-source project dedicated to provide a Python framework for processing seismological data. It provides parsers for common file formats, clients to access data centers and seismological signal processing r…

---

## [Advanced Training for SeisComP: Sep 28 - Oct 1, 2026, Potsdam, Germany](https://discourse.obspy.org/t/advanced-training-for-seiscomp-sep-28-oct-1-2026-potsdam-germany/2398)

<div class="topic-metadata">

**Author:** [@droessler](https://discourse.obspy.org/u/droessler)\
**Replies:** 0\
**Last updated:** [August 19, 2026, 1:55pm UTC](https://discourse.obspy.org/t/advanced-training-for-seiscomp-sep-28-oct-1-2026-potsdam-germany/2398 "2026-08-19T13:55:34Z")

</div>

Hi all, we still have a spot available in this Advanced Training largely based on OpenSource SeisComP and other gempa software. You may register last minute: gempa GmbH - Advanced Training for SeisComP - Local Seismicit…

---

## [Google search results for obspy document are not accurate recently](https://discourse.obspy.org/t/google-search-results-for-obspy-document-are-not-accurate-recently/2367)

<div class="topic-metadata">

**Author:** [@zhong-yy](https://discourse.obspy.org/u/zhong-yy)\
**Replies:** 2\
**Last updated:** [April 14, 2026, 9:35am UTC](https://discourse.obspy.org/t/google-search-results-for-obspy-document-are-not-accurate-recently/2367 "2026-04-14T09:35:41Z")

</div>

Over the last few months, when you search for a certain obspy function, class or object in google, the search result never shows the official documentation. Instead, some tutorials, discussions, github issues appear at t…

---

## [Script documentation seems incorrect](https://discourse.obspy.org/t/script-documentation-seems-incorrect/2191)

<div class="topic-metadata">

**Author:** [@Joao\_Fontiela](https://discourse.obspy.org/u/Joao_Fontiela)\
**Replies:** 2\
**Last updated:** [October 29, 2025, 7:00pm UTC](https://discourse.obspy.org/t/script-documentation-seems-incorrect/2191 "2025-10-29T19:00:12Z")

</div>

Regarding script documentation of obspy.io.xseed.scripts.dataless2resp mentions $ obspy-obspy.io.xseed.scripts.dataless2resp instead of $obspy-dataless2resp

---

## [experts, I encountered a problem about obspy drawing, I want to know how to use obspy to draw a seismic waveform about the epicentral distance profile, and the operation of marking some points on the map..](https://discourse.obspy.org/t/experts-i-encountered-a-problem-about-obspy-drawing-i-want-to-know-how-to-use-obspy-to-draw-a-seismic-waveform-about-the-epicentral-distance-profile-and-the-operation-of-marking-some-points-on-the-map/2285)

<div class="topic-metadata">

**Author:** [@GGX](https://discourse.obspy.org/u/GGX)\
**Replies:** 0\
**Last updated:** [August 5, 2025, 8:10am UTC](https://discourse.obspy.org/t/experts-i-encountered-a-problem-about-obspy-drawing-i-want-to-know-how-to-use-obspy-to-draw-a-seismic-waveform-about-the-epicentral-distance-profile-and-the-operation-of-marking-some-points-on-the-map/2285 "2025-08-05T08:10:07Z")

</div>

---

## [Building StationXML using NRl v2](https://discourse.obspy.org/t/building-stationxml-using-nrl-v2/2184)

<div class="topic-metadata">

**Author:** [@Andrea](https://discourse.obspy.org/u/Andrea)\
**Replies:** 3\
**Last updated:** [March 14, 2025, 10:55am UTC](https://discourse.obspy.org/t/building-stationxml-using-nrl-v2/2184 "2025-03-14T10:55:47Z")

</div>

Hello. Up to now I build station-inventories using PDCC, but as it works not for the NRL v2, I am looking for a alternative to build station-inventories. I tried to build a stationXML with Obspy using NRL v2, but someh…

---

## [Power spectral density multi-station ](https://discourse.obspy.org/t/power-spectral-density-multi-station/2185)

<div class="topic-metadata">

**Author:** [@Ulug\_bek\_Abdujabbaro](https://discourse.obspy.org/u/Ulug_bek_Abdujabbaro)\
**Replies:** 1\
**Last updated:** [March 14, 2025, 8:08am UTC](https://discourse.obspy.org/t/power-spectral-density-multi-station/2185 "2025-03-14T08:08:57Z")

</div>

How to build multi-station power spectral density in Obspy with mseed files and StationXml files. Look like this photo I was able to build a PSD for one channel of one station

---

## [Trigger ar\_pick](https://discourse.obspy.org/t/trigger-ar-pick/1398)

<div class="topic-metadata">

**Author:** [@gulrukh](https://discourse.obspy.org/u/gulrukh)\
**Replies:** 4\
**Last updated:** [March 14, 2025, 7:50am UTC](https://discourse.obspy.org/t/trigger-ar-pick/1398 "2025-03-14T07:50:14Z")

</div>

Hello! I used the obspy ar\_pick function for P and S arrivals on some traces. I have two issues: For a particular trace I used to have access violation error but worked on others. A rough fix was to use a try and exce…

---

## [Error in using massdownloader](https://discourse.obspy.org/t/error-in-using-massdownloader/2165)

<div class="topic-metadata">

**Author:** [@zhong-yy](https://discourse.obspy.org/u/zhong-yy)\
**Replies:** 4\
**Last updated:** [March 6, 2025, 3:15pm UTC](https://discourse.obspy.org/t/error-in-using-massdownloader/2165 "2025-03-06T15:15:27Z")

</div>

Hi there! When I use massdownloader to download data, I got the following error. It seems that some file is corrupted, but I don’t know which file it is, and I am not sure whether it is my local downloaded file or the fi…

---

## [Noise analysis of strong motion network](https://discourse.obspy.org/t/noise-analysis-of-strong-motion-network/2026)

<div class="topic-metadata">

**Author:** [@Iman\_Abu](https://discourse.obspy.org/u/Iman_Abu)\
**Replies:** 0\
**Last updated:** [October 24, 2024, 11:35am UTC](https://discourse.obspy.org/t/noise-analysis-of-strong-motion-network/2026 "2024-10-24T11:35:29Z")

</div>

the code of ppsd estimation and plotting in seismo-live or obspy.I am seeking clarification regarding an alternative model other than Petroson (1993) for my current work. such as A High- and Low-Noise Model for High-Qua…

---

## [Slicing mseed files above 2 GB size](https://discourse.obspy.org/t/slicing-mseed-files-above-2-gb-size/1990)

<div class="topic-metadata">

**Author:** [@seismo2112](https://discourse.obspy.org/u/seismo2112)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 7:49am UTC](https://discourse.obspy.org/t/slicing-mseed-files-above-2-gb-size/1990 "2024-08-29T07:49:36Z")

</div>

Hi I am trying to slice the mseed files, which is almost 4 GB. But this error is coming back to back. import obspy from obspy import UTCDateTime import os # Path to your MiniSEED file file\_path = "/home/TSIMP\_Data\_20…

---

## [Seismic noise RMS amplitude](https://discourse.obspy.org/t/seismic-noise-rms-amplitude/1917)

<div class="topic-metadata">

**Author:** [@vbrossard](https://discourse.obspy.org/u/vbrossard)\
**Replies:** 4\
**Last updated:** [August 29, 2024, 7:35am UTC](https://discourse.obspy.org/t/seismic-noise-rms-amplitude/1917 "2024-08-29T07:35:30Z")

</div>

Hello, Does anyone know any function to compute the RMS amplitude from the PSD obtained by ppsd or from the raw data? I want the ambient noise RMS values at a certain frequency band. Thanks

---

## [A new member wants to join this Commmunity!](https://discourse.obspy.org/t/a-new-member-wants-to-join-this-commmunity/1992)

<div class="topic-metadata">

**Author:** [@steevesmith](https://discourse.obspy.org/u/steevesmith)\
**Replies:** 0\
**Last updated:** [August 26, 2024, 9:28am UTC](https://discourse.obspy.org/t/a-new-member-wants-to-join-this-commmunity/1992 "2024-08-26T09:28:09Z")

</div>

Hi there, I am new here and very excited, to join this community.. I am new to ObsPy and still finding my way around,.. but I am eager to learn and contribute where I can. The world of seismology and signal processing i…

---

## [Can not read waveform](https://discourse.obspy.org/t/can-not-read-waveform/1984)

<div class="topic-metadata">

**Author:** [@deXbr](https://discourse.obspy.org/u/deXbr)\
**Replies:** 0\
**Last updated:** [August 2, 2024, 9:40am UTC](https://discourse.obspy.org/t/can-not-read-waveform/1984 "2024-08-02T09:40:05Z")

</div>

Hi everyone, maybe one of you can help me. I have error message like this when I want to read the file. The link file is attached.

---

## [Extract waveform data](https://discourse.obspy.org/t/extract-waveform-data/1960)

<div class="topic-metadata">

**Author:** [@sergio59](https://discourse.obspy.org/u/sergio59)\
**Replies:** 0\
**Last updated:** [June 12, 2024, 10:00pm UTC](https://discourse.obspy.org/t/extract-waveform-data/1960 "2024-06-12T22:00:28Z")

</div>

How can I extract waveforms data and Copy in variabile from every block in stream? Best regards.

---

## [How to download station XML file from existing network?](https://discourse.obspy.org/t/how-to-download-station-xml-file-from-existing-network/1936)

<div class="topic-metadata">

**Author:** [@phyo\_mgmg](https://discourse.obspy.org/u/phyo_mgmg)\
**Replies:** 1\
**Last updated:** [May 8, 2024, 12:39pm UTC](https://discourse.obspy.org/t/how-to-download-station-xml-file-from-existing-network/1936 "2024-05-08T12:39:45Z")

</div>

Hello Obspy senior users, I am a newbie user. I am testing all the tutorials from document to familiar Obspy. After I learned Creating a StationXML file from Scratch (Creating a StationXML file from Scratch — ObsPy 1.4…

---

## [NOAA/NWS/Pacific Tsunami Warning Center Scientist positions](https://discourse.obspy.org/t/noaa-nws-pacific-tsunami-warning-center-scientist-positions/1912)

<div class="topic-metadata">

**Author:** [@Jonathan\_Weiss\_PTWC](https://discourse.obspy.org/u/Jonathan_Weiss_PTWC)\
**Replies:** 0\
**Last updated:** [March 26, 2024, 6:36pm UTC](https://discourse.obspy.org/t/noaa-nws-pacific-tsunami-warning-center-scientist-positions/1912 "2024-03-26T18:36:19Z")

</div>

Hello ObsPy Community, The NOAA/NWS/Pacific Tsunami Warning Center (PTWC) in Honolulu, Hawaii has two openings that are now being advertised on USAJOBS with a closing date of April 5, 2024. The positions are for US citi…

---

## [Plotting the events (arrival times) on the actual seismograms](https://discourse.obspy.org/t/plotting-the-events-arrival-times-on-the-actual-seismograms/1651)

<div class="topic-metadata">

**Author:** [@tesfahiwetyemane](https://discourse.obspy.org/u/tesfahiwetyemane)\
**Replies:** 4\
**Last updated:** [March 12, 2024, 8:42pm UTC](https://discourse.obspy.org/t/plotting-the-events-arrival-times-on-the-actual-seismograms/1651 "2024-03-12T20:42:15Z")

</div>

Hi all, I have a python list of arrival times (both P and S wave arrivals) from a machine learning model for arrival picks. How do I plot these arrival times in the actual seismograms (arrival times and the correspondin…

---

## [Correct difference in start time between components](https://discourse.obspy.org/t/correct-difference-in-start-time-between-components/1856)

<div class="topic-metadata">

**Author:** [@vbrossard](https://discourse.obspy.org/u/vbrossard)\
**Replies:** 5\
**Last updated:** [January 8, 2024, 9:43am UTC](https://discourse.obspy.org/t/correct-difference-in-start-time-between-components/1856 "2024-01-08T09:43:03Z")

</div>

Hello, Does anyone know if there is a way to correct the difference in the start time of the three components using obspy? My data is in mseed format. The data looks fine but there is a difference in the start time betw…

---

## [Trying to retrieve focal mechanism - USGS API - IndexError: list index out of range](https://discourse.obspy.org/t/trying-to-retrieve-focal-mechanism-usgs-api-indexerror-list-index-out-of-range/1863)

<div class="topic-metadata">

**Author:** [@aubercor](https://discourse.obspy.org/u/aubercor)\
**Replies:** 1\
**Last updated:** [January 5, 2024, 3:21pm UTC](https://discourse.obspy.org/t/trying-to-retrieve-focal-mechanism-usgs-api-indexerror-list-index-out-of-range/1863 "2024-01-05T15:21:38Z")

</div>

Hello, I am trying to retrieve focal mechanism for the M 7.5 earthquake (42 km NE of Anamizu, Japan) occured on the 2024-01-01 07:10:09 (UTC) webpage: https://earthquake.usgs.gov/earthquakes/eventpage/us6000m0xl/momen…

---

## [Postdoctoral position in seismic data management / archiving / etc](https://discourse.obspy.org/t/postdoctoral-position-in-seismic-data-management-archiving-etc/1851)

<div class="topic-metadata">

**Author:** [@filefolder](https://discourse.obspy.org/u/filefolder)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 5:00am UTC](https://discourse.obspy.org/t/postdoctoral-position-in-seismic-data-management-archiving-etc/1851 "2023-12-14T05:00:45Z")

</div>

Hi all, Advertising a position here at the Australian National University that may be of interest to the forum. We have large amounts of data constantly streaming in and we are looking for help managing it and serving i…

---

## [How to remove polynomial response](https://discourse.obspy.org/t/how-to-remove-polynomial-response/1834)

<div class="topic-metadata">

**Author:** [@langlami](https://discourse.obspy.org/u/langlami)\
**Replies:** 7\
**Last updated:** [November 28, 2023, 1:12pm UTC](https://discourse.obspy.org/t/how-to-remove-polynomial-response/1834 "2023-11-28T13:12:35Z")

</div>

Dear All, I am looking at weather data (LKI, LRO, … channels). I download the data from FDSN WS. The attach\_response is of course described as a polynomial response. And unfortunately the “remove\_response” does not w…

---

## [Shifting the origin time to zero](https://discourse.obspy.org/t/shifting-the-origin-time-to-zero/1820)

<div class="topic-metadata">

**Author:** [@kozan88](https://discourse.obspy.org/u/kozan88)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 7:06pm UTC](https://discourse.obspy.org/t/shifting-the-origin-time-to-zero/1820 "2023-10-26T19:06:07Z")

</div>

Hello, I have sac data with a full header (event origin time, station information). I want to shift the origin time to zero. which is compatible to sac\> ch allt ( -1 \* &1,o ), as I remember. How can I do the same in …

---

## [Numpy.float error using stream.plot](https://discourse.obspy.org/t/numpy-float-error-using-stream-plot/1798)

<div class="topic-metadata">

**Author:** [@dormant](https://discourse.obspy.org/u/dormant)\
**Replies:** 4\
**Last updated:** [October 9, 2023, 8:24am UTC](https://discourse.obspy.org/t/numpy-float-error-using-stream-plot/1798 "2023-10-09T08:24:42Z")

</div>

I am getting a runtime error on one of my scripts, originating from stream.plot and caused by changes in numpy. How can I get round this? Traceback (most recent call last): File "./plotaDay.py", line 102, in \<module\> …

---

## [Seismic noise spectrogram](https://discourse.obspy.org/t/seismic-noise-spectrogram/1795)

<div class="topic-metadata">

**Author:** [@vbrossard](https://discourse.obspy.org/u/vbrossard)\
**Replies:** 4\
**Last updated:** [September 28, 2023, 4:06am UTC](https://discourse.obspy.org/t/seismic-noise-spectrogram/1795 "2023-09-28T04:06:47Z")

</div>

Hello, I want to plot a spectrogram of the seismic noise for one year or more. I am using mseed files (24 hours). I used the specgram function of matplotlib for processing a 1 hour data window, but I do not know how to …

---

## [Questions on instrument response removal](https://discourse.obspy.org/t/questions-on-instrument-response-removal/1790)

<div class="topic-metadata">

**Author:** [@vbrossard](https://discourse.obspy.org/u/vbrossard)\
**Replies:** 4\
**Last updated:** [September 21, 2023, 9:18am UTC](https://discourse.obspy.org/t/questions-on-instrument-response-removal/1790 "2023-09-21T09:18:17Z")

</div>

Hello, I am trying to remove the instrument response from a mseed file after merge the data but when I plot the signal after remove the response the data is still in count. Can any help me to undestand what i am doing w…

---

## [Timeline hides xaxis label](https://discourse.obspy.org/t/timeline-hides-xaxis-label/1785)

<div class="topic-metadata">

**Author:** [@Isabel](https://discourse.obspy.org/u/Isabel)\
**Replies:** 1\
**Last updated:** [September 8, 2023, 3:06pm UTC](https://discourse.obspy.org/t/timeline-hides-xaxis-label/1785 "2023-09-08T15:06:24Z")

</div>

I am using the PPSD.plot() for high frequencies. Therefore, the xaxis label is correctly changed to frequency from periods. Unfortunately the timeline of “used/skipped” time does hide the label partially. Is there an opt…

---

## [Converting PZ file to RESP format](https://discourse.obspy.org/t/converting-pz-file-to-resp-format/1780)

<div class="topic-metadata">

**Author:** [@seismo2112](https://discourse.obspy.org/u/seismo2112)\
**Replies:** 3\
**Last updated:** [August 30, 2023, 10:53am UTC](https://discourse.obspy.org/t/converting-pz-file-to-resp-format/1780 "2023-08-30T10:53:33Z")

</div>

Hi, Is there any way I can convert pole zero file to RESP format files? Lalit

---

## [Retrieve statistic data from PPSD](https://discourse.obspy.org/t/retrieve-statistic-data-from-ppsd/1771)

<div class="topic-metadata">

**Author:** [@Isabel](https://discourse.obspy.org/u/Isabel)\
**Replies:** 2\
**Last updated:** [August 18, 2023, 2:18pm UTC](https://discourse.obspy.org/t/retrieve-statistic-data-from-ppsd/1771 "2023-08-18T14:18:34Z")

</div>

Is it possible to retrieve the PDF-result (also the variance, not only mean) for specific periods or do I have to retrieve the PSD values and do the statistic analysis in post-processing?

---

## [Spectral acceleration (SA)](https://discourse.obspy.org/t/spectral-acceleration-sa/1680)

<div class="topic-metadata">

**Author:** [@kozan88](https://discourse.obspy.org/u/kozan88)\
**Replies:** 4\
**Last updated:** [August 9, 2023, 3:29am UTC](https://discourse.obspy.org/t/spectral-acceleration-sa/1680 "2023-08-09T03:29:01Z")

</div>

Hello, Can I calculate the acceleration response spectrum for my strong motion sac data using obspy? just like Seismosignal software works

[Next page](https://discourse.obspy.org/c/uncategorized/1.md?page=1)
