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

Compute freight volume diagnostic #30

Closed khaeru closed 3 years ago

khaeru commented 4 years ago

This adds an example of one "quality diagnostic" (see #15) calculation involving two input data sets. Namely:

The nomenclature is per earlier scripts developed by @hlinero, and may be changed later.

To do

codecov[bot] commented 3 years ago

Codecov Report

Merging #30 (6b5bcf2) into master (375683f) will increase coverage by 1.00%. The diff coverage is 74.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   52.53%   53.53%   +1.00%     
==========================================
  Files          35       38       +3     
  Lines        1521     1582      +61     
==========================================
+ Hits          799      847      +48     
- Misses        722      735      +13     
Impacted Files Coverage Δ
item/model/plot.py 28.37% <0.00%> (ø)
item/remote/__init__.py 100.00% <ø> (ø)
item/tests/test_historical.py 0.00% <0.00%> (ø)
item/utils.py 100.00% <ø> (ø)
item/historical/diagnostic/__init__.py 48.93% <21.42%> (ø)
item/remote/openkapsarc.py 90.52% <50.00%> (+0.42%) :arrow_up:
item/historical/scripts/T009.py 93.75% <93.75%> (ø)
item/historical/__init__.py 92.47% <95.45%> (+2.70%) :arrow_up:
item/historical/diagnostic/A003.py 100.00% <100.00%> (ø)
item/historical/scripts/T000.py 100.00% <100.00%> (ø)
... and 6 more

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 375683f...ece1d35. Read the comment docs.