Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no waveform exist #3414

Open
ibralsalmi opened this issue Mar 1, 2024 · 2 comments
Open

no waveform exist #3414

ibralsalmi opened this issue Mar 1, 2024 · 2 comments
Labels
.clients.fdsn question Questions asked by users. Please use https://discourse.obspy.org for asking new questions

Comments

@ibralsalmi
Copy link

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

@ibralsalmi ibralsalmi added the enhancement feature request label Mar 1, 2024
@ibralsalmi
Copy link
Author

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:

@megies
Copy link
Member

megies commented Mar 4, 2024

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.

@megies megies added question Questions asked by users. Please use https://discourse.obspy.org for asking new questions .clients.fdsn and removed enhancement feature request labels Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.clients.fdsn question Questions asked by users. Please use https://discourse.obspy.org for asking new questions
Projects
None yet
Development

No branches or pull requests

2 participants