openclimatefix / power_perceiver

Machine learning experiments using the Perceiver IO model to forecast the electricity system (starting with solar)
MIT License
7 stars 1 forks source link

Implement `PatchSatellite` #32

Closed JackKelly closed 2 years ago

JackKelly commented 2 years ago

Implement a PatchSatellite transform for HRVSatellite and Satellite.

See issue #31 for a usage example.

Maybe using DataArray.coarsen or Dataset.coarsen and then DataArrayCoarsen.construct (by default, coarsen takes the mean of the coordinates)

Could also use coarsen to patch multiple timesteps together (although we don't need to worry about that for the first experiment)