IRIS_HOST

IRIS_HOST

FORMAT_JSON

const for json format, json

FORMAT_JSON

Type: string

FORMAT_TEXT

const for text format, text

FORMAT_TEXT

Type: string

FORMAT_GEOCSV

const for geocsv format, geocsv

FORMAT_GEOCSV

Type: string

FORMAT_REQUEST

const for request format, request

FORMAT_REQUEST

Type: string

EMPTY_JSON

const of completely empty json, {}

EMPTY_JSON

Type: RootType

Static Members
version
datasources

SERVICE_VERSION

Major version of the FDSN spec supported here. Currently is 1.

SERVICE_VERSION

Type: number

SERVICE_NAME

Service name as used in the FDSN DataCenters registry, https://www.fdsn.org/datacenters

SERVICE_NAME

AvailabilityQuery

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))
});
new AvailabilityQuery(host: string?)

Extends FDSNCommon

Parameters
host (string?) optional host to connect to, defaults to IRIS
Related
https://www.fdsn.org/webservices/
Instance Members
specVersion(value?)
getSpecVersion()
protocol(value?)
getProtocol()
host(value?)
getHost()
nodata(value?)
getNodata()
port(value?)
getPort()
networkCode(value?)
getNetworkCode()
stationCode(value?)
getStationCode()
locationCode(value?)
getLocationCode()
channelCode(value?)
getChannelCode()
startTime(value?)
getStartTime()
endTime(value?)
getEndTime()
timeRange(se)
quality(value?)
getQuality()
merge(value?)
getMerge()
mergeGaps(value?)
getMergeGaps()
show(value?)
getShow()
limit(value?)
getLimit()
orderby(value?)
getOrderBy()
includeRestricted(value?)
getIncludeRestricted()
format(value?)
getFormat()
timeout(value?)
getTimeout()
query()
queryJson()
extent()
extentJson()
postQuery(channelTimeList)
postExtent(channelTimeList)
postExtentJson(channelTimeList)
postQueryJson(channelTimeList)
postJson(channelTimeList, method)
postRaw(channelTimeList, method)
extractFromJson(jsonChanTimes)
createPostBody(channelTimeList)
formBaseURL()
formVersionURL()
queryVersion()
makePostParm(name, val)
formURL(method?)

RootType

Root type of availablility json query.

RootType

Type: any

FdsnDateTime

FdsnDateTime

Type: string

Datasource

Datasource

Type: any

isValidRootType

isValidRootType(jsonValue: any): any
Parameters
jsonValue (any)
Returns
any

isValidDatasource

isValidDatasource(jsonValue: any): any
Parameters
jsonValue (any)
Returns
any