openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

add function to update latest, + test #24

Closed peterdudfield closed 2 years ago

peterdudfield commented 2 years ago

Pull Request

Description

Function to update the latest data table

Fixes #21

How Has This Been Tested?

add a test

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 #24 (663f1ed) into main (e4db78f) will decrease coverage by 0.14%. The diff coverage is 88.88%.

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
- Coverage   97.37%   97.23%   -0.15%     
==========================================
  Files          16       16              
  Lines         534      542       +8     
==========================================
+ Hits          520      527       +7     
- Misses         14       15       +1     
Impacted Files Coverage Δ
nowcasting_datamodel/read/read.py 97.95% <87.50%> (-0.93%) :arrow_down:
nowcasting_datamodel/__init__.py 100.00% <100.00%> (ø)

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