Skip to main content

Graph data file(s) from an aranet4 sensor.

Project description

Graph data file(s) from an aranet4 sensor

The aranet4-graph (python) program takes a YAML input file for configuration that allows loading and graphing of a CSV file that has been exported from the aranet4 phone app. The YAML configuration supports specifying the file to load, begin and end timestamps to limit the graph to and a set of markers for having arrows that point at the graph. Each marker can be a simple string, or may be a dictionary and a label and a offset that sets the vertical offset of the label and arrow length. The default offset is 400.

Example:

input:  2022-11-05-smf-to-lhr.csv
output: 2022-11-05-smf-to-lhr.png
begin: "2022-11-04 08:23 PDT"
markers:
       "2022-11-04 09:00 PDT": "at home"
       "2022-11-04 11:30 PDT": "SMF gate"
       "2022-11-04 12:20 PDT":
         label: "boarding"
         offset: 600
       "2022-11-04 13:05 PDT":
         label: "taking off"
         offset: -200
       "2022-11-04 13:55 PDT": "in flight"
       "2022-11-04 16:14 MDT": "landing"
       "2022-11-04 16:45 MDT": "DEN United club"
       "2022-11-04 17:45 MDT": "at next gate"
end:   "2022-11-04 18:45 MDT"

Installation

pipx install aranet4-graph

or pip install aranet4-graph

Example output

Example output image

Source code

https://github.com/hardaker/aranet4-graph

Sources of (randomish) information

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aranet4-graph-0.2.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

aranet4_graph-0.2-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page