IRIS_HOST
EARTHSCOPE_HOST

const for json format, json

FORMAT_JSON

Type: string

const for text format, text

FORMAT_TEXT

Type: string

const for geocsv format, geocsv

FORMAT_GEOCSV

Type: string

const for request format, request

FORMAT_REQUEST

Type: string

const of completely empty json, {}

EMPTY_JSON
Static Members
▸ datasources

AVAILABILITY_SERVICE

dist/fdsnavailability.mjs

const for service name

AVAILABILITY_SERVICE

Type: string

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

SERVICE_VERSION

Type: number

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

SERVICE_NAME

AvailabilityQuery

dist/fdsnavailability.mjs

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: any)

Extends FDSNCommon

Parameters
host (any) 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()
▸ pathBase(value)
▸ getPathBase()
▸ 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)
isValidRootType(jsonValue: any)
Parameters
jsonValue (any)

isValidDatasource

dist/fdsnavailability.mjs
isValidDatasource(jsonValue: any)
Parameters
jsonValue (any)