NREL / reV

Renewable Energy Potential (reV) Model
https://nrel.github.io/reV/
BSD 3-Clause "New" or "Revised" License
107 stars 24 forks source link

Output attrs #301

Closed MRossol closed 3 years ago

MRossol commented 3 years ago

Inits Outputs from BaseResource to ensure Outputs has all of the "Resource" attributes, properties, and methods Updates the check_data_dtype method to: 1) if scale factor is user-defined (not None):

codecov-commenter commented 3 years ago

Codecov Report

Merging #301 (aeef238) into main (691b301) will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #301      +/-   ##
==========================================
+ Coverage   75.96%   75.99%   +0.03%     
==========================================
  Files         116      116              
  Lines       14503    14507       +4     
==========================================
+ Hits        11017    11025       +8     
+ Misses       3486     3482       -4     
Flag Coverage Δ
unittests 75.99% <100.00%> (+0.03%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
reV/handlers/collection.py 72.07% <100.00%> (+0.09%) :arrow_up:
reV/handlers/outputs.py 76.29% <100.00%> (-0.28%) :arrow_down:
reV/version.py 100.00% <100.00%> (ø)
tests/test_gen_config.py 95.53% <100.00%> (+0.20%) :arrow_up:
tests/test_handlers_outputs.py 96.62% <100.00%> (+0.52%) :arrow_up:
reV/config/project_points.py 84.38% <0.00%> (+0.04%) :arrow_up:
reV/handlers/transmission.py 80.33% <0.00%> (+0.50%) :arrow_up:

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 691b301...aeef238. Read the comment docs.