transportenergy / database

Tools for accessing and maintaining the iTEM model & historical databases
https://transportenergy.rtfd.io
GNU General Public License v3.0
24 stars 8 forks source link

Convert T004 data set input script from Jupyter notebook #59

Closed khaeru closed 3 years ago

khaeru commented 3 years ago

This PR was created during the tutorial with ITF & IIASA colleagues on 2021-02-05.

This PR partly addresses #49 by adding T004.py, a new Python module that simplifies the older, verbose T004.ipynb Jupyter notebook.

To complete

codecov[bot] commented 3 years ago

Codecov Report

Merging #59 (57e03a9) into master (7e1e235) will increase coverage by 0.46%. The diff coverage is 92.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
+ Coverage   52.74%   53.21%   +0.46%     
==========================================
  Files          38       39       +1     
  Lines        1583     1603      +20     
==========================================
+ Hits          835      853      +18     
- Misses        748      750       +2     
Impacted Files Coverage Δ
item/tests/test_historical.py 0.00% <0.00%> (ø)
item/historical/__init__.py 91.00% <100.00%> (-1.48%) :arrow_down:
item/historical/scripts/T004.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7e1e235...d774479. Read the comment docs.