openclimatefix / ocf_datapipes

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

Fix potentially coarsen to take alternating points #288

Closed jacobbieker closed 6 months ago

jacobbieker commented 6 months ago

Since ECMWF just interpolates to lower than 0.1, the 0.1 values should be right, so take those instead here

Pull Request

Description

Fixes potentially coarsen to actually take every other point if the source data is in 0.05 degree incerements

Fixes #

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

Checklist: