openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

Issue/dont save national #92

Closed peterdudfield closed 2 years ago

peterdudfield commented 2 years ago

Pull Request

Description

add option to only update national, or gsps in update forecast

helps with https://github.com/openclimatefix/nowcasting_forecast/issues/152

How Has This Been Tested?

added tests

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #92 (bcea49d) into main (66fbbae) will increase coverage by 0.02%. The diff coverage is 100.00%.

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

@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
+ Coverage   98.53%   98.56%   +0.02%     
==========================================
  Files          17       17              
  Lines         820      836      +16     
==========================================
+ Hits          808      824      +16     
  Misses         12       12              
Impacted Files Coverage Δ
nowcasting_datamodel/__init__.py 100.00% <100.00%> (ø)
nowcasting_datamodel/update.py 98.63% <100.00%> (+0.38%) :arrow_up:

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