openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
7 stars 7 forks source link

add function to get latest value from forecast table #104

Closed peterdudfield closed 2 years ago

peterdudfield commented 2 years ago

Pull Request

Description

add new read function to get forecast value latest related to https://github.com/openclimatefix/nowcasting_api/issues/127

How Has This Been Tested?

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #104 (f59e0c7) into main (c4d7e01) will decrease coverage by 0.33%. The diff coverage is 76.92%.

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   98.56%   98.22%   -0.34%     
==========================================
  Files          17       17              
  Lines         836      847      +11     
==========================================
+ Hits          824      832       +8     
- Misses         12       15       +3     
Impacted Files Coverage Δ
nowcasting_datamodel/read/read.py 97.53% <72.72%> (-1.43%) :arrow_down:
nowcasting_datamodel/__init__.py 100.00% <100.00%> (ø)
nowcasting_datamodel/update.py 98.63% <100.00%> (ø)

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