openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

Issue/blend negative values #165

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

Pull Request

Description

Make sure there are no negative values when blendiing

How Has This Been Tested?

TDD: wrote failing test then fixed it

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Merging #165 (ce53e4f) into main (8ae1122) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
+ Coverage   94.84%   94.85%   +0.01%     
==========================================
  Files          23       23              
  Lines        1455     1458       +3     
==========================================
+ Hits         1380     1383       +3     
  Misses         75       75              
Impacted Files Coverage Δ
nowcasting_datamodel/__init__.py 100.00% <100.00%> (ø)
nowcasting_datamodel/read/blend.py 91.79% <100.00%> (+0.18%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more