import sqlite3
import datetime
import math
import triangulate_events

import sys
sys.path.append('../')
import events

import settings

"""
@author(s): Nathan Heidt

This parses the meteor events and detects simulataneous events

TODO:
    - This is linked to work on the local database, when porting this over to
      the server, link it to work with whatever local DB is there

CHANGELOG:
    -
"""

databasePath = settings.databasePath
dbTable = 'events'

# Max delay (seconds) between meteor events before we section them
# This really only works with small sample sizes
maxDelay = 5.0

# What is the furthest two observers could see the same meteories (km)
maxDistance = 100.0