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

Riverlab parser #4

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

Riverlab parser #4

wants to merge 1 commit into from

Conversation

lmarini
Copy link
Member

@lmarini lmarini commented Aug 6, 2021

WIP Fixes #3

Queries the Riverlab endpoint https://app.extralab-system.com:8007/data/Monticello/lastpoint every 30 seconds and if
it finds a new datapoint based on timestamp, (timedate field) it adds it to the file. It uses pandas to load the
file from disk every time and merge in the new row.

plot.py includes simple code to plot the data in the CSV file using pandas and matplotlib.

TODO

  • Use a scheduler instead of while time.sleep loop
  • Should we start new files after a certain number of rows?
  • Post to the geostreams api

@lmarini lmarini requested a review from diegoac2 August 6, 2021 18:47
@lmarini lmarini changed the title Starting Riverlab parser. #3 Starting Riverlab parser Aug 6, 2021
@lmarini lmarini changed the title Starting Riverlab parser Riverlab parser Aug 6, 2021
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.

Riverlab parser
1 participant