openclimatefix / nowcasting_dataset

Prepare batches of data for training machine learning solar electricity nowcasting data
https://nowcasting-dataset.readthedocs.io/en/stable/
MIT License
25 stars 6 forks source link

dont error on first batch - this is when the batches are shuffled #639

Closed peterdudfield closed 2 years ago

peterdudfield commented 2 years ago

Pull Request

Description

How Has This Been Tested?

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #639 (43bd4f8) into main (15c56c2) will decrease coverage by 0.17%. The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main     #639      +/-   ##
==========================================
- Coverage   93.32%   93.14%   -0.18%     
==========================================
  Files          45       45              
  Lines        3041     3049       +8     
==========================================
+ Hits         2838     2840       +2     
- Misses        203      209       +6     
Impacted Files Coverage Δ
nowcasting_dataset/dataset/batch.py 94.24% <33.33%> (-4.23%) :arrow_down:

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