UNPKG

geonet

Version:

A Node.js API wrapper for GeoNet — Aotearoa's geological hazard monitoring system.

56 lines (55 loc) 1.48 kB
import { FeatureCollection as CommonFeatureCollection } from "./common"; import { FDSNStationChannel } from "./sensor"; import { GNSSStationAntennaPeriod, GNSSStationReceiverPeriod } from "./sensor"; export declare enum SensorType { Accelerometer = 1, Barometer = 2, BroadbandSeismometer = 3, GNSSAntenna = 4, Hydrophone = 5, Microphone = 6, PressureSensor = 7, ShortPeriodBoreholeSeismometer = 8, ShortPeriodSeismometer = 9, StrongMotionSensor = 10 } export interface NetworkSensorRequest { sensorType: SensorType; startDate?: string; endDate?: string; station?: string; } export interface NetworkGNSStationRequest { code: string; } export interface NetworkFDSNStationRequest { station: string; network: string; } export interface NetworkSensorProperties { Network: string; Station: string; Location: string; Code: string; Start: string; End: string; SensorType: string; } export type NetworkSensorResponse = CommonFeatureCollection<NetworkSensorProperties>; export interface NetworkGNSStationResponse { Code: string; DomesNumber: string; Latitude: number; Longitude: number; Elevation: number; Antennas: GNSSStationAntennaPeriod[]; Receivers: GNSSStationReceiverPeriod[]; } export interface NetworkFDSNStationResponse { Network: string; Station: string; Name: string; Start: string; End: string; Channels: FDSNStationChannel[]; }