openclimatefix / uk-pvnet-app

Application for running PVNet in production
MIT License
1 stars 4 forks source link

Regrid NWP inputs #21

Closed dfulu closed 1 year ago

dfulu commented 1 year ago

Pull Request

Description

The current NWP data is on a different grid than was trained on. See openclimatefix/nwp-consumer#26 for more discussion.

This pull request adds a function to regrid the NWP if the data is on a different grid than the training data. This is done eagerly and saved to disk before the prediction pipeline is run.

How Has This Been Tested?

Tested the regridding function locally to make sure it produces sensible looking results

Checklist: