openclimatefix / power_perceiver

Machine learning experiments using the Perceiver IO model to forecast the electricity system (starting with solar)
MIT License
7 stars 1 forks source link

Update Preprepared Dataset to current v15_v2 dataset #192

Closed jacobbieker closed 2 years ago

jacobbieker commented 2 years ago

Pull Request

Description

Updates preprepared Dataset to work with the current v15_v2 dataset

Fixes #184 Fixes #185 Fixes #187

How Has This Been Tested?

Unit tests

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #192 (d5ea5a9) into main (e0985e4) will increase coverage by 0.27%. The diff coverage is 52.63%.

@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   39.18%   39.46%   +0.27%     
==========================================
  Files          47       48       +1     
  Lines        2631     2686      +55     
==========================================
+ Hits         1031     1060      +29     
- Misses       1600     1626      +26     
Impacted Files Coverage Δ
...erceiver/load_prepared_batches/data_sources/gsp.py 30.76% <40.00%> (+1.35%) :arrow_up:
...perceiver/load_prepared_batches/data_sources/pv.py 27.65% <40.00%> (+2.07%) :arrow_up:
...erceiver/load_prepared_batches/data_sources/nwp.py 48.57% <48.57%> (ø)
...er/load_prepared_batches/data_sources/satellite.py 42.42% <50.00%> (+1.04%) :arrow_up:
...pared_batches/data_sources/prepared_data_source.py 59.64% <85.71%> (+2.78%) :arrow_up:
...ver/load_prepared_batches/data_sources/__init__.py 100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

jacobbieker commented 2 years ago

We have changed for OCF Datapipes, so closing this