openclimatefix / ocf_datapipes

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

fix batch unstacking for different NWP sources #259

Closed dfulu closed 9 months ago

dfulu commented 9 months ago

Pull Request

Description

Fix unstack_np_batch_into_examples() for different NWP sources. Also extend test so it would have caught this.

Checklist:

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (702542b) 77.51% compared to head (8e5dfa9) 77.51%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #259 +/- ## ======================================= Coverage 77.51% 77.51% ======================================= Files 118 118 Lines 5364 5364 ======================================= Hits 4158 4158 Misses 1206 1206 ```

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