2.0.0
const 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, {}
Major version of the FDSN spec supported here. Currently is 1.
Type: number
Service name as used in the FDSN DataCenters registry, http://www.fdsn.org/datacenters
Type: string
Query to a FDSN Availability web service.
(string?)
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.
(number?)
spec version, usually 1
(number | AvailabilityQuery)
:
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.
(string?)
protocol, usually http or https
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the remote host to connect to.
(string?)
host
(string | AvailabilityQuery)
:
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.
(number?)
number for nodata, usually 404 or 204
(number | AvailabilityQuery)
:
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
(number?)
port
(number | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the network code to check.
(string?)
network code like IU
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the station code to check.
(string?)
station code like ANMO
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the location code to check.
(string?)
location code like 00
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the channel code to check.
(string?)
channel code like BHZ
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the start time parameter for the query.
(moment?)
start time
(moment | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the end time parameter for the query.
(moment?)
end time
(moment | AvailabilityQuery)
:
the query when setting, the current value when no argument
Sets startTime and endTime using the given time window
(StartEndDuration)
time window
AvailabilityQuery
:
the query
Gets/Sets the quality parameter for the query.
(string?)
quality
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the merge parameter for the query.
(string?)
merge
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the mergegaps parameter for the query.
(number?)
merge gaps
(number | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the show parameter for the query.
(string?)
show
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the limit parameter for the query.
(number?)
limit
(number | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the order by parameter for the query.
(string?)
order by
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Gets/Sets the include restricted data parameter for the query.
(boolean?)
true to include restricted data
(boolean | AvailabilityQuery)
:
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.
(string?)
format
(string | AvailabilityQuery)
:
the query when setting, the current value when no argument
Get/Set the timeout in seconds for the request. Default is 30.
(number?)
timeout in seconds
(number | AvailabilityQuery)
:
the query when setting, the current value when no argument
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.
(Array<SeismogramDisplayData>)
array of channel-time windows for the request
Promise<Array<SeismogramDisplayData>>
:
promise to array of SeismogramDisplayData, each representing
a channel-time window
Root type of availablility json query.
Type: any
Type: string
Type: any