openclimatefix / PVNet

PVnet main repo
MIT License
15 stars 3 forks source link

Fix multiprocessing for batch creation #152

Closed Sukh-P closed 4 months ago

Sukh-P commented 4 months ago

Pull Request

Description

How Has This Been Tested?

This has been tested locally by @dfulu and myself, when specifying num_workers > 1 in the streamed batches config it stops the script from hanging for long periods.

Checklist:

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 57.14%. Comparing base (26ddadf) to head (ef3752e). Report is 40 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #152 +/- ## ======================================= Coverage 57.14% 57.14% ======================================= Files 28 28 Lines 1806 1806 ======================================= Hits 1032 1032 Misses 774 774 ```

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