obspy / obspy

ObsPy: A Python Toolbox for seismology/seismological observatories.

Home Page:https://www.obspy.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no waveform exist

ibralsalmi opened this issue · comments

Problem

I would like in (obspy.clients.fdsn import Client), when I want to get waveform during a week period for example from Client('GEOFON'), I will retrieve the data even with one second stop of recording the station during the interval ( no amplitude within this interval)
I am facing no waveform exist (however it is almost exist).

Proposed solution

No response

90% of the waveform is exist within the interval, the result (No data available for request). How could I request the data even there is NULL/NO AMPLITUDE?

File "/Users/squ/Downloads/Download/Download.py", line 19, in
raw_data = client.get_waveforms(network='5H',station=i,location='',channel='*',starttime=t1,endtime=t2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 872, in get_waveforms
data_stream = self._download(url, use_gzip=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1486, in _download
raise_on_error(code, data)
File "/usr/local/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1813, in raise_on_error
raise FDSNNoDataException("No data available for request.",
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
HTTP Status code: 204
Detailed response of server:

I do not fully understand the problem. Can you post a fully self contained example code of your request? Also please use Client(..., debug=True) which will show the exact download requests sent to the FDSN server.

Also in principle, please use our Forum for usage questions in the future. The github tracker is for bug reports and the like, thank you.