openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

Issue/no nan adjust mw #195

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

Pull Request

Description

If there are no ME values, then default to 0. This will allow longer National_xg model to be deployed

How Has This Been Tested?

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Merging #195 (f9e2a71) into main (e01682f) will decrease coverage by 0.03%. The diff coverage is 90.00%.

@@            Coverage Diff             @@
##             main     #195      +/-   ##
==========================================
- Coverage   94.82%   94.79%   -0.03%     
==========================================
  Files          27       27              
  Lines        1603     1613      +10     
==========================================
+ Hits         1520     1529       +9     
- Misses         83       84       +1     
Impacted Files Coverage Δ
nowcasting_datamodel/save/adjust.py 93.33% <81.81%> (-1.01%) :arrow_down:
nowcasting_datamodel/__init__.py 100.00% <100.00%> (ø)
nowcasting_datamodel/fake.py 100.00% <100.00%> (ø)
nowcasting_datamodel/read/read_metric.py 100.00% <100.00%> (ø)

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