openclimatefix / ocf_datapipes

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

Issue/pv inputs #225

Closed dfulu closed 1 year ago

dfulu commented 1 year ago

Pull Request

Description

This pull request grew unfortunately organically. But in essence, boils down to

major

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Merging #225 (19d0816) into main (4a7c7df) will increase coverage by 0.97%. The diff coverage is 86.05%.

@@            Coverage Diff             @@
##             main     #225      +/-   ##
==========================================
+ Coverage   81.47%   82.45%   +0.97%     
==========================================
  Files         132      125       -7     
  Lines        5690     5402     -288     
==========================================
- Hits         4636     4454     -182     
+ Misses       1054      948     -106     
Files Changed Coverage Δ
ocf_datapipes/convert/numpy/batch/pv.py 100.00% <ø> (ø)
ocf_datapipes/select/__init__.py 100.00% <ø> (ø)
..._datapipes/select/select_pv_systems_on_capacity.py 0.00% <0.00%> (ø)
ocf_datapipes/training/example/gsp_national.py 100.00% <ø> (ø)
ocf_datapipes/training/pseudo_irradience.py 75.00% <ø> (ø)
ocf_datapipes/training/pvnet.py 82.02% <ø> (ø)
ocf_datapipes/transform/numpy/__init__.py 100.00% <ø> (ø)
ocf_datapipes/transform/xarray/create_sun_image.py 85.71% <25.00%> (+4.58%) :arrow_up:
ocf_datapipes/convert/numpy/pv.py 81.81% <50.00%> (ø)
ocf_datapipes/load/pv/utils.py 92.59% <50.00%> (-2.15%) :arrow_down:
... and 27 more

... and 2 files with indirect coverage changes

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