openclimatefix / nowcasting-metrics

Repo to automatically run metrics on the nowcasting forecast
0 stars 1 forks source link

use get datetime interval, not make it #25

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

Pull Request

Description

Error caused by datetimer interval already existing

Fixes https://github.com/openclimatefix/uk-analysis-dashboard/issues/15

How Has This Been Tested?

CI tests

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Merging #25 (593060a) into main (cfd6746) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   99.43%   99.44%           
=======================================
  Files           8        8           
  Lines         357      358    +1     
=======================================
+ Hits          355      356    +1     
  Misses          2        2           
Impacted Files Coverage Δ
nowcasting_metrics/app.py 95.83% <100.00%> (+0.08%) :arrow_up:

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