mss_dataserver collects the data from the Macroseismic-Sensors, computes the PGV and runs the event detection. The event data is saved in a mariaDB database. After the successful detection of an event, the program mssds_postprocess is called to compute the event supplement data in geoJSON format. The data PGV data and the event supplement data is served over websockets to mss-vis clients.
mss_dataserver can also be used to perform some basic database management tasks needed to initialize the mss_dataserver database.
The program is configured using a configuration file. A description of the configuration file is given in the configuration file example.
mss_dataserver is a command line program which accepts several commands and command line arguments.
mss_dataserver [OPTIONS] CONFIG_FILE COMMAND [ARGS]...
Show the program help.
The filepath to the mss_dataserver configuration file.
The command to execute.
Clear the project database tables.
Create of update the project database.
Load the geometry inventory file into the database.
Start the data collection and websocket data server.