{% extends 'base.html' %} {% block content %}
http://127.0.0.1:5000/ewave/query?net=X1&sta=SA05&cha=HHZ&loc=00&start=2022-10-13T12:30:00.0&dur=66
http://127.0.0.1:5000/ewave/query?net=X1&sta=SA05&cha=HHZ&loc=00&start=2022-10-13T12:30:00.0&dur=66&format=mseed
http://127.0.0.1:5000/ewave/query? (date-range-options) [channel-options] [plot-options] [nodata=404]
where
date-range-options :: (start=<time>) ([end=<time>] or [dur=<seconds>]) channel-options :: [net=<network>] [sta=<station>] [loc=<location>] [cha=<channel>] plot-options :: [ptime=<P_picktime>] [plabel=<P_picklabel>] [displayMaxValue=<True_or_False>] [scaleFactor=<scaleFactor>] [units=<units>] general-options :: [format=<trace_format>]
(..) required
[..] optional
Query parameters are joined by ampersands ”&”, without blank space (see the sample queries).
parameters | examples | required | discussion | default | type |
---|---|---|---|---|---|
start[time] | 2010-02-27T06:30:00 | required | Specifies the desired waveform start-time | UTCDateTime | |
end[time] | 2010-02-27T10:30:00 | end -or- dur required | Specify the end-time for the miniSEED data | UTCDateTime | |
net[work] | IU | Select one or more network codes. Accepts wildcards; accepts lists in GET usage. Can be SEED codes or data center defined codes. | any | string | |
sta[tion] | ANMO | Select one or more SEED station codes. Accepts wildcards; accepts lists in GET usage | any | string | |
loc[ation] | 00 | Select one or more SEED location identifier. Accepts wildcards; accepts lists in GET usage Use -- for “Blank” location IDs (ID’s containing 2 spaces). |
any | string | |
cha[nnel] | BH1 | Select one or more SEED channel codes. Accepts wildcards; accepts lists in GET usage | any | string | |
dur[ation] | 60 | Specify duration of waveform in seconds | int | ||
nodata | 404 | Specify which HTML Status code is returned when no data is found.1 | 204 | 204 or 404 | |
format | miniseed | Specify the return format in {'png', 'mseed', 'miniseed'} | png | string |
1 By default, the service returns a HTTP response code 204, which means the request was successful, but no data (no content) was retrieved. However, because there was no “error”, no error message is generated and it may appear that the browser did nothing. To force an empty query response to display an error message, add nodata=404
to the URL.
Retrieve the WADL associated with this service:
Year, Month, Day in Month — Time:
YYYY-MM-DDThh:mm:ss[.ssssss]
ex. 1997-01-31T12:04:32.123
YYYY-MM-DD
ex. 1997-01-31 a time of 00:00:00 is assumed
Where:
YYYY :: four-digit year MM :: two-digit month (01=January, etc.) DD :: two-digit day of month (01 through 31) T :: date-time separator hh :: two digits of hour (00 through 23) (AM/PM NOT allowed) mm :: two digits of minute (00 through 59) ss :: two digits of second (00 through 59) ssssss :: one to six digits representing decimal fractions of a second, down to microseconds
Wildcards
The question mark ?
represents any single character (exactly one), while the asterisk *
represents zero or more characters.
Lists
Multiple items may also be retrieved using a comma separated list. Wildcards may be included in the list. For example, with channel codes: channel=EH?,BHZ,BHE