#tui #data #viewer #viewing #energy2020

app e2020-data-viewer

A TUI for viewing data from ENERGY2020

2 releases

0.1.7 May 23, 2024
0.1.0 May 22, 2024

#485 in GUI

GPL-3.0-or-later

110KB
2.5K SLoC

e2020-data-viewer

A TUI data viewer for ENERGY2020.

https://github.com/ECCC-RPE-EPR/e2020-data-viewer/assets/1813121/7cd1fe33-f858-4bf1-96ea-403d093e0197

https://github.com/ECCC-RPE-EPR/e2020-data-viewer/assets/1813121/3083e1b5-9fff-4187-8a83-513f6fd1433b

Install

Usage

From any command prompt or terminal, you can run e2020-data-viewer --help:

$ e2020-data-viewer --help

A TUI for viewing data from ENERGY2020

Usage: e2020-data-viewer [OPTIONS] --file <FILE>

Options:
  -f, --file <FILE>              The input file to use
      --tick-rate <TICK_RATE>    Tick rate (ticks per second) [default: 4]
      --frame-rate <FRAME_RATE>  Frame rate (frames per second) [default: 4]
  -d, --dataset <DATASET>        The dataset to read on load (optional)
  -h, --help                     Print help
  -V, --version                  Print version

To load a file:

$ e2020-data-viewer --file ./path/to/database.hdf5

To load a specific dataset in a file:

$ e2020-data-viewer --file ./path/to/database.hdf5 --dataset "routput/Dmd"

Background

e2020-data-viewer is a terminal user interface to interactively explore the data produced by a Julia port of ENERGY2020. ENERGY2020 is used for Canada's greenhouse gas emissions projections as part of the E3MC model.

Dependencies

~43–58MB
~897K SLoC