openclimatefix / uk-pv-national-xg

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

Tom/adding tests #11

Closed thomasarmstrong98 closed 1 year ago

thomasarmstrong98 commented 1 year ago

Pull Request

Description

Addressing #5 and #6

Add basic test coverage for preprocessing and utility functions. Also converts .npy data to pd.DataFrame storage for processed NWP data (better inclusion of the timepoints at which the data corresponds to)

Stores a test/sample nwp sample used for testing.

How Has This Been Tested?

All tests passed successfully

Checklist:

thomasarmstrong98 commented 1 year ago

Would you be able to add CI to this PR too

Doesn't that require the setup.py and requirements.txt first? @peterdudfield