e2020-data-viewer

Crates.ioe2020-data-viewer
lib.rse2020-data-viewer
version0.1.7
sourcesrc
created_at2024-05-22 14:26:58.332239
updated_at2024-05-23 01:41:10.118276
descriptionA TUI for viewing data from ENERGY2020
homepage
repositoryhttps://github.com/ECCC-RPE-EPR/e2020-data-viewer
max_upload_size
id1247989
size206,834
Dheepak Krishnamurthy (kdheepak)

documentation

README

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.

Commit count: 41

cargo fmt