The dataselect webservice gives access to multiple channels of FDSN miniSEED data for specified time ranges.
Query: fdsnws/dataselect/1/query?[query-parameters], where query-parameters:
net="network" |
Required |
Specify SEED network code, example net=CI. Wildcards and comma separated lists are accepted. |
sta="station" |
Required |
Specify SEED station code, example sta=PASC. Wildcards and comma separated list are accepted. |
cha="channel" |
Required |
Specify SEED channel code mask, example cha=BHE. Wildcards and comma separated list are accepted. |
loc="location" |
Required |
Specify SEED location code mask, example loc=00. Substitute dashes (-) for white space, example loc=--. Wildcards and comma separated list are accepted. |
start=YYYY-MM-DDThh:mm:ss[.sss] |
Required |
Specify the start time of the miniSEED data. |
end=YYYY-MM-DDThh:mm:ss[.sss] |
Required |
Specify the end time of the miniSEED data. |
quality=B|D|M|Q|R |
Optional |
Specify data quality (refer SEED manual). |
format=miniseed | mseed |
Optional |
Specify output format. Only miniSEED is supported as of now. |
nodata=204|404 |
Optional |
Specify which HTML status code is returned when no data is found (Default is 204). |
POST USAGE
Alternately, instead of providing parameter-value pairs in the URL, a file containing a selection list can be provided. This file must be submitted using HTTP POST. The selection list is composed of network, station, location, channel, start and end time entries. An example POST selection list might looke like:
CI BAK -- BHE 2014-01-01T00:00:00 2014-01-01T01:00:00
CI PASC 00 HHE 2018-02-02T22:00:00 2018-02-02T23:00:00
CI PASC 10 HNE 2017-03-03T00:00:00 2017-03-03T02:00:00
Requests can be made with a selection file via the unix wget or curl commands:
wget --post-file=[file containing selection list] -O out.mseed https://service.scedc.caltech.edu/fdsnws/dataselect/1/query
OR
curl --data-binary @[file containing selection list] -o out.mseed https://service.scedc.caltech.edu/fdsnws/dataselect/1/query
A selection list submission form is also provided for form based POST requests.
Valid request time windows
Requested time windows that don't fit this formula will return no data.
(timewindow * sr + 100) <= 400 * 1024 * 1024 / 4
where timewindow is end-start in seconds, sr is sample rate of the channel.
Sample rate | Window(days) |
100 | 30 |
40 | 60 |
1 | 1230 |