openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

add test if there is no data #25

Closed peterdudfield closed 2 years ago

peterdudfield commented 2 years ago

Pull Request

Description

add default for updating input lastest data

How Has This Been Tested?

added a test + normal tests

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #25 (c8a593a) into main (9ad5bb2) will increase coverage by 0.01%. The diff coverage is 100.00%.

:exclamation: Current head c8a593a differs from pull request most recent head 630fb49. Consider uploading reports for the commit 630fb49 to get more accurate results

@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   97.41%   97.43%   +0.01%     
==========================================
  Files          16       16              
  Lines         542      546       +4     
==========================================
+ Hits          528      532       +4     
  Misses         14       14              
Impacted Files Coverage Δ
nowcasting_datamodel/read/read.py 99.01% <100.00%> (+0.04%) :arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more