Created By : Benhard Sim
this is a Back-end application for Earthquake detection data pipeline that utilise confluent Kafka for data broker and seedLink protocol with geofon service to predict the existence of earthquake in the Java island region.
this application also utilize the Machine Learning Model that was trained with P-wave algorithm and data from geofon network with a frequency of 20 Hz.
this project was created for my bachlore thesis final project in Diponegoro University.
- Make sure to install all the dependency
- Make sure you have the config_kafka.txt file for Kafka access
- Run this code below to produce the station data in pararel
python Producer_pararel/producer_pararel_v2.py - the program will start to produce the data
- Make sure to install all the dependency
- Make sure you have the config_kafka.txt file for Kafka access
- Make sure you have the machine learning model file and replace the ML file path in the wave_consumer_pararel_to_db.py file
- Make sure you have the Firebase credentials.json file to push the consumed data into the database
- Run this code below to consume the station data in pararel
python Wave_consumer.py - the program will start to produce the data
- go to the Back-end folder
- install all of the node.js depedency
- make sure you have the Firebase credentials.json file to access the data from the firebase database
- Run this code below to the stasiun data in pararel
node Back-end/server.js - to check if the data is conneceted go to your web browser and go to localhost with port 3000