openclimatefix / uk-pv-national-xg

National PV forecasting using Gradient Boosted Methods.
4 stars 3 forks source link

Reduce memory #112

Closed peterdudfield closed 5 months ago

peterdudfield commented 5 months ago

Pull Request

Description

Reduce memory by reduce to variables we need when loading from NWP fix tests too, by pinning to pydantic==1.10.10

linked with https://github.com/openclimatefix/nwp-consumer/pull/115

fixed #111

How Has This Been Tested?

CI tests

Checklist:

codecov[bot] commented 5 months ago

Codecov Report

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

Comparison is base (8fee7e6) 41.15% compared to head (4b6220a) 40.99%.

:exclamation: Current head 4b6220a differs from pull request most recent head 83c2ff9. Consider uploading reports for the commit 83c2ff9 to get more accurate results

Files Patch % Lines
gradboost_pv/inference/data_feeds.py 0.00% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #112 +/- ## ========================================== - Coverage 41.15% 40.99% -0.17% ========================================== Files 21 21 Lines 1018 1022 +4 ========================================== Hits 419 419 - Misses 599 603 +4 ```

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