openclimatefix / ocf_datapipes

OCF's DataPipe based dataloader for training and inference
MIT License
13 stars 11 forks source link

Automatically test for alignment between GSPs and NWP #189

Open JackKelly opened 1 year ago

JackKelly commented 1 year ago

It'd be great to automatically test if the "full data pipeline" correctly spatially aligns GSPs with NWPs.

(Just checking the the coordinates have the same values is necessary but not sufficient. Coordinates might be incorrectly assigned to GSPs. As happened in issue #187!)

Possible Implementation

Several possibilities:

Any other possibilities?

One complication with the above is that the CI/CD infrastructure will need relatively fast access to the NWPs and GSP data. Maybe we could include just, say, 1 month of just DSWRF (no other NWP variables) with the tests, and 1 month of GSP? Both as uint8?