Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regrid NWP inputs #21

Merged
merged 23 commits into from
Nov 6, 2023
Merged

Regrid NWP inputs #21

merged 23 commits into from
Nov 6, 2023

Conversation

dfulu
Copy link
Member

@dfulu dfulu commented Nov 2, 2023

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:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@dfulu dfulu changed the title Regrid nwp Regrid NWP inputs Nov 2, 2023
@dfulu dfulu merged commit ad37d33 into main Nov 6, 2023
2 checks passed
@dfulu dfulu deleted the regrid_nwp branch November 6, 2023 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants