openclimatefix / PVNet

PVnet main repo
MIT License
17 stars 3 forks source link

Zig-zag forecast: Satellite variable delay #35

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

We find that the forecasts over predict on the hour, and under predict on the half hour

Screenshot 2023-06-26 at 13 40 13

This might becasue satellite image are available on the hour

Detailed Description

The forecasts at 00:15 have 15 minute delay of satellite data, but the forecast at 00:45 have 45 minutes of delay of data. This leads to some zig-sag effects in the 0 hour forecast

Context

Possible Implementation

peterdudfield commented 1 year ago

Satellite data, at 12.07 UTC we have thte satellite data up to 12.00 UTC ready to use in AWS s3

peterdudfield commented 1 year ago

By looking at the batches, I can see that the satellite data has lots of zeros in it. batch for predicting at

This looks to be becasue the satellite data is limited to 2 hours. But actually we need 2.5 hours of satellite in s3. This is becasue if the prediction is made at 13.29, we need data from 11 to 12. 12 to 13 is assumed blank. So 11 to 13.29 is 2.5 hours. Will adjust this in Satip repo

peterdudfield commented 1 year ago

I've deployed a fix to the satellite consumer to keep more data, hopefully tomorrow we will solve the zig zag problem

peterdudfield commented 1 year ago

Think this is now sovled, bu waiting for a sunny day

peterdudfield commented 1 year ago

Screenshot 2023-06-30 at 10 27 29

zig zag has now gone away