openclimatefix / ocf_datapipes

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

Refactor #256

Closed dfulu closed 9 months ago

dfulu commented 9 months ago

Pull Request

Description

A refactor and spring clean of datapipes

Changes are:

Checklist:

codecov[bot] commented 9 months ago

Codecov Report

Attention: 42 lines in your changes are missing coverage. Please review.

Comparison is base (e3e8de3) 78.12% compared to head (73c9ab0) 77.51%. Report is 2 commits behind head on main.

Files Patch % Lines
ocf_datapipes/training/metnet/metnet_national.py 21.42% 11 Missing :warning:
...cf_datapipes/training/metnet/metnet_pv_national.py 21.42% 11 Missing :warning:
...f_datapipes/training/metnet/metnet_gsp_national.py 27.27% 8 Missing :warning:
ocf_datapipes/training/common.py 86.95% 3 Missing :warning:
ocf_datapipes/training/metnet/metnet_pv_site.py 50.00% 3 Missing :warning:
ocf_datapipes/training/pseudo_irradience.py 50.00% 3 Missing :warning:
ocf_datapipes/load/satellite.py 71.42% 2 Missing :warning:
ocf_datapipes/select/pick_t0_times.py 94.44% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #256 +/- ## ========================================== - Coverage 78.12% 77.51% -0.61% ========================================== Files 132 118 -14 Lines 5792 5364 -428 ========================================== - Hits 4525 4158 -367 + Misses 1267 1206 -61 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dfulu commented 9 months ago

closes #252