openeew / openeew-nodered

Flows and nodes for earthquake detection and alerts
https://openeew.com/docs/deploy-detection-nodered
Apache License 2.0
22 stars 11 forks source link

Create a node-red-contrib-openeew package and STA/LTA node #2

Open andygrillo opened 3 years ago

andygrillo commented 3 years ago

Currently we are using a peak acceleration value to declare an earthquake. However any acceleration can trigger this (cars, people, drilling).

Short term average/long term average (STA/LTA) is well used in seismology to detect earthquakes. For OpenEEW this would work by comparing a small window of 1 second of data against a larger window of 10 seconds of data. The STA/LTA output value is then compared against a trigger threshold.

An example of this in python is here: https://github.com/openeew/openeew-detection/blob/master/openeew/detection.py

johnwalicki commented 3 years ago

Tasks: