openclimatefix / ocf_datapipes

OCF's DataPipe based dataloader for training and inference
MIT License
13 stars 11 forks source link

Allow use of PV system data from PV Sites database #226

Closed dfulu closed 10 months ago

dfulu commented 11 months ago

Pull Request

Description

This pull request is intended to allow us to use PV data from the pvsites database.

Checklist:

codecov[bot] commented 11 months ago

Codecov Report

Merging #226 (2c39650) into main (c7d8da3) will increase coverage by 0.16%. Report is 2 commits behind head on main. The diff coverage is 87.67%.

@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
+ Coverage   79.94%   80.11%   +0.16%     
==========================================
  Files         126      127       +1     
  Lines        5551     5611      +60     
==========================================
+ Hits         4438     4495      +57     
- Misses       1113     1116       +3     
Files Coverage Δ
ocf_datapipes/config/model.py 86.38% <100.00%> (+0.05%) :arrow_up:
ocf_datapipes/convert/numpy/batch/pv.py 100.00% <ø> (ø)
ocf_datapipes/load/__init__.py 82.35% <100.00%> (+1.10%) :arrow_up:
ocf_datapipes/load/pv/database.py 97.05% <100.00%> (+0.84%) :arrow_up:
ocf_datapipes/load/pv/pv.py 97.16% <100.00%> (-0.13%) :arrow_down:
...tapipes/select/drop_pv_sys_generating_overnight.py 100.00% <100.00%> (ø)
ocf_datapipes/training/common.py 98.08% <ø> (+2.54%) :arrow_up:
ocf_datapipes/training/example/nwp_pv.py 89.28% <ø> (ø)
ocf_datapipes/training/example/simple_pv.py 97.14% <ø> (ø)
ocf_datapipes/training/metnet_pv_site.py 80.76% <100.00%> (ø)
... and 10 more

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