openclimatefix / pv-site-api

Site specific API for PV forecasting
5 stars 8 forks source link

get gsp and dno automatically #126

Closed peterdudfield closed 5 months ago

peterdudfield commented 9 months ago

Pull Request

Description

get gsp and dno automatically when adding a site

How Has This Been Tested?

Checklist:

codecov[bot] commented 9 months ago

Codecov Report

Merging #126 (7f0eb0b) into main (a55d835) will increase coverage by 1.07%. Report is 7 commits behind head on main. The diff coverage is 88.18%.

@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
+ Coverage   92.42%   93.50%   +1.07%     
==========================================
  Files          11       14       +3     
  Lines         568      662      +94     
==========================================
+ Hits          525      619      +94     
  Misses         43       43              
Files Coverage Δ
pv_site_api/__init__.py 100.00% <100.00%> (ø)
pv_site_api/_db_helpers.py 98.85% <100.00%> (+13.74%) :arrow_up:
pv_site_api/convert.py 100.00% <100.00%> (ø)
pv_site_api/main.py 93.77% <100.00%> (+0.21%) :arrow_up:
pv_site_api/pydantic_models.py 100.00% <ø> (ø)
pv_site_api/utils.py 100.00% <100.00%> (ø)
pv_site_api/data/utils.py 92.00% <92.00%> (ø)
pv_site_api/data/gsp.py 83.33% <83.33%> (ø)
pv_site_api/data/dno.py 79.31% <79.31%> (ø)

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