Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved Issue #188 Added Export to CSV, added few tests, optimized geo function #325

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

richthedee
Copy link

Added function to export event details to CSV file.
The function is called on every tick (every change to an event)
Its set to keep hold of last 100 changes, after 100 it removes oldest 20 records
File is called events.csv and it gets created in root directory

Details:
EventTime, EventQuality, EventRegion, EventMagnitude, EventMMI, MMI

Added few tests to improve coverage

Updated one function to lower usage of converting to radians and redundant calculation of cos

Fixes #188

@richthedee richthedee changed the title Added Export to CSV, added few tests, optimized geo function Resolved Issue #188 Added Export to CSV, added few tests, optimized geo function Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant