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 y_offset that sets the vertical offset (default 400) of the label and arrow length and a x_offset (in seconds) for the horizontal offset (default 0).

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"
         y_offset: 600
       "2022-11-04 13:05 PDT":
         label: "taking off"
         y_offset: -200
         h_offset: -1800
       "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

For a more complete read about analyzing a week-long trip using an aranet4 and this software, refer to my [https://www.isi.edu/~hardaker/news/20221106-ietf-c02-analysis/][personal news article about measuring CO2 levels during IETF-115].

Example output image

Source code

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

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.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

aranet4_graph-0.4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file aranet4-graph-0.4.tar.gz.

File metadata

  • Download URL: aranet4-graph-0.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.8

File hashes

Hashes for aranet4-graph-0.4.tar.gz
Algorithm Hash digest
SHA256 ae58d5241953cb1c7bd0f55a98451e395f1eaa77efaf500a090d0ca73e82211d
MD5 59a22abf4d3350d399b314b5630d4857
BLAKE2b-256 d8d5f8c8d1aa43e118c704e2d9de01e6ed9ff6c4eb63d0827c7ec982c11fdf33

See more details on using hashes here.

File details

Details for the file aranet4_graph-0.4-py3-none-any.whl.

File metadata

  • Download URL: aranet4_graph-0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.8

File hashes

Hashes for aranet4_graph-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 693d033156575b1597c517c95700435e2cf39df9048036045b1ea41d43023a65
MD5 5dd0523096a5d3451d765b2e79a8065a
BLAKE2b-256 87596e217557138a79c00520ff98a8a04954067b9d5a11691180b4cbf6bb0d6f

See more details on using hashes here.

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