3.2.6const for json format, json
Type: string
const for text format, text
Type: string
const for geocsv format, geocsv
Type: string
const for request format, request
Type: string
const of completely empty json, {}
const for service name
Type: string
Major version of the FDSN spec supported here. Currently is 1.
Type: number
Service name as used in the FDSN DataCenters registry, https://www.fdsn.org/datacenters
Query to a FDSN Availability web service.
const avail = AvailabilityQuery()
.networkCode("CO")
.stationCode("BIRD")
.startTime("2021-12-27T19:18:54Z")
.endTime("2021-12-27T19:22:54Z");
avail.query().then(sddList => {
sddList.forEach(sdd => console.log(sdd))
});
Extends FDSNCommon
(any)
optional host to connect to, defaults to IRIS
Gets/Sets the version of the fdsnws spec, 1 is currently the only value. Setting this is probably a bad idea as the code may not be compatible with the web service.
(any)
spec version, usually 1
any:
the query when setting, the current value when no argument
Gets/Sets the protocol, http or https. This should match the protocol of the page loaded, but is autocalculated and generally need not be set.
(any)
protocol, usually http or https
any:
the query when setting, the current value when no argument
Gets/Sets the remote host to connect to.
(any)
host
any:
the query when setting, the current value when no argument
Gets/Sets the nodata parameter, usually 404 or 204 (default), controlling the status code when no matching data is found by the service.
(any)
number for nodata, usually 404 or 204
any:
the query when setting, the current value when no argument
Gets/Sets the port, not usually set unless not on standard http or https ports
(any)
port
any:
the query when setting, the current value when no argument
(any)
Gets/Sets the network code to check.
(any)
network code like IU
any:
the query when setting, the current value when no argument
Gets/Sets the station code to check.
(any)
station code like ANMO
any:
the query when setting, the current value when no argument
Gets/Sets the location code to check.
(any)
location code like 00
any:
the query when setting, the current value when no argument
Gets/Sets the channel code to check.
(any)
channel code like BHZ
any:
the query when setting, the current value when no argument
Gets/Sets the start time parameter for the query.
(any)
start time
any:
the query when setting, the current value when no argument
Gets/Sets the end time parameter for the query.
(any)
end time
any:
the query when setting, the current value when no argument
Sets startTime and endTime using the given time window
(any)
time window
any:
the query
Gets/Sets the quality parameter for the query.
(any)
quality
any:
the query when setting, the current value when no argument
Gets/Sets the merge parameter for the query.
(any)
merge
any:
the query when setting, the current value when no argument
Gets/Sets the mergegaps parameter for the query.
(any)
merge gaps
any:
the query when setting, the current value when no argument
Gets/Sets the show parameter for the query.
(any)
show
any:
the query when setting, the current value when no argument
Gets/Sets the limit parameter for the query.
(any)
limit
any:
the query when setting, the current value when no argument
Gets/Sets the order by parameter for the query.
(any)
order by
any:
the query when setting, the current value when no argument
Gets/Sets the include restricted data parameter for the query.
(any)
true to include restricted data
any:
the query when setting, the current value when no argument
Gets/Sets the format parameter for the query. Usually not needed as is set by the various query methods.
(any)
format
any:
the query when setting, the current value when no argument
Get/Set the timeout in seconds for the request. Default is 30.
(any)
timeout in seconds
any:
the query when setting, the current value when no argument
Calls query on the remote service, using configured parameters. Calls queryJson internally, then unpacks the result into array of SeismogramDisplayData objects.
any:
promise to array of SeismogramDisplayData, each representing
a channel-time window
Calls the query function the remote server and parses the returned data as json.
any:
promise to the result as json
Calls extent on the remote service, using configured parameters. Calls extentJson internally, then unpacks the result into array of SeismogramDisplayData objects.
any:
promise to array of SeismogramDisplayData, each representing
a channel-time window
Call the extend function on the remote server and parses the returned data as json.
any:
promise to the result as json
Calls query on the remote service using POST, using configured parameters and forms the POST body using the channelTimeList. Calls postQueryJson internally, then unpacks the result into array of SeismogramDisplayData objects.
(any)
array of channel-time windows for the request
any:
promise to array of SeismogramDisplayData, each representing
a channel-time window
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
Forms the base of the url for accessing the dataselect service.
any:
URL as string
Queries the remote web service to get its version
any:
Promise to version string
(any)
(any)
(any)
(any)
(any)