2 releases
0.1.7 | May 23, 2024 |
---|---|
0.1.0 | May 22, 2024 |
#137 in Visualization
110KB
2.5K
SLoC
e2020-data-viewer
A TUI data viewer for ENERGY2020.
Install
- Download the precompiled binary from the latest release: https://github.com/ECCC-RPE-EPR/e2020-data-viewer/releases/latest
- Extract the binary from a corresponding file based on your operating system.
- Place the binary in a folder of your choice.
- (optional) Add the folder to your PATH
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
~888K SLoC