openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

make sure to filter created_utc to be less than 4 hours from now #107

Closed peterdudfield closed 2 years ago

peterdudfield commented 2 years ago

Pull Request

Description

add filter on created time also

Fixes #

How Has This Been Tested?

normal CI, could add an extra test, but havent

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #107 (ba835f6) into main (c479588) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #107   +/-   ##
=======================================
  Coverage   98.19%   98.19%           
=======================================
  Files          19       19           
  Lines         943      944    +1     
=======================================
+ Hits          926      927    +1     
  Misses         17       17           
Impacted Files Coverage Δ
nowcasting_datamodel/read/read.py 97.54% <100.00%> (+0.01%) :arrow_up:

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