FDSN Web Services

Use FDSNWS to access station metadata in FDSN StationXML, StationXML and SC3XML formats and time series data in miniSEED format. For full details visit: http://www.fdsn.org/webservices/ and https://www.seiscomp3.org/doc/jakarta/current/apps/fdsnws.html.

IP to use for fdsnws queries: https://fdsnws.raspberryshakedata.com/fdsnws/

Note

The RASPISHAKE data center has been included in the IRIS Federator system. See also: IRIS FDSN Stats and the FDSN AM network page.

Note

All historical data all the way back to 2016 when Raspberry Shake was born is now online and available via FDSNWS

Warning

fdsnws-event is not currently supported

Waveforms

fdsnws-dataselect example via wget:

$ wget --no-check-certificate "https://fdsnws.raspberryshakedata.com/fdsnws/dataselect/1/query?net=AM&sta=R5661&loc=00&cha=SHZ&start=2017-06-20T20:00:00&end=2017-06-20T20:05:00" -O waveform.mseed

fdsnws-dataselect example via ObsPy (obspy version 1.2.0 and higher):

from obspy.clients.fdsn import Client
from obspy import UTCDateTime
start_1 = "2020-01-01 00:00:00"
starttime = UTCDateTime(start_1)
endtime = starttime + 600       # 600 seconds
client = Client('RASPISHAKE')
waveform = client.get_waveforms('AM', 'R24FA', '00', 'EHZ', starttime, endtime)

fdsnws-dataselect example via ObsPy (pre obspy version 1.2.0):

from obspy.clients.fdsn import Client
from obspy import UTCDateTime
start_1 = "2020-01-01 00:00:00"
starttime = UTCDateTime(start_1)
endtime = starttime + 600       # 600 seconds
client = Client(base_url='https://fdsnws.raspberryshakedata.com/')
waveform = client.get_waveforms('AM', 'R24FA', '00', 'EHZ', starttime, endtime)

Note

Data is recorded and stored as raw counts. To convert to metric units, see the example here: Converting counts to metric units using ObsPy.

Metadata

fdsnws-station example via wget:

$ wget --no-check-certificate "https://fdsnws.raspberryshakedata.com/fdsnws/station/1/query?net=AM&level=resp" -O sta.xml

fdsnws-station example via ObsPy (obspy version 1.2.0 and higher):

from obspy.clients.fdsn import Client
client = Client('RASPISHAKE')
metadata = client.get_stations(network='AM', station='R24FA', location='00', channel='EHZ', level='RESP')

fdsnws-station example via ObsPy (pre obspy version 1.2.0):

from obspy.clients.fdsn import Client
client = Client(base_url='https://fdsnws.raspberryshakedata.com/')
metadata = client.get_stations(network='AM', station='R24FA', location='00', channel='EHZ', level='RESP')

Tools

If you are just learning how to build fdsnws requests, here is a great tool for building FDSNWS web requests: