Skip to content

Commit

Permalink
Merge pull request #41 from HiSPARC/suspicious-data
Browse files Browse the repository at this point in the history
Mark more recent but still old data also suspicious
  • Loading branch information
153957 committed Mar 29, 2024
2 parents 4651eea + 8e17b4f commit fb946a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wsgi/wsgi_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ def is_data_suspicious(event_list):
"""
for event in event_list:
if event['header']['datetime'].year < 2013:
logger.debug('Date < 2013: Timestamp has high suspiciousness.')
if event['header']['datetime'].year < 2019:
logger.debug('Date < 2019: Timestamp has high suspiciousness.')
return True
if event['header']['datetime'].date() == datetime.date(2019, 4, 7):
logger.debug('Date == Apr 7, 2019: No GPS signal?')
Expand Down

0 comments on commit fb946a3

Please sign in to comment.