openclimatefix / nowcasting_forecast

Making live forecasts for the nowcasting project
MIT License
5 stars 2 forks source link

Forecast seems 30 mins out #181

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

The forecaster always looks about 30 mins off

By looking at the gsp data at 21:55, the batch has the following values 19:30, 20:00, 20:30, 21:00, 21:30 and the model uses the first 4 values.

In training the values it has taken are 19:30, 20:00, 20:30, 21:00, 21:30.

Out of date This means in the morning, i.e 9.15, the live model uses times: 7:00, 7:30, 8:00 and 8:30, tried to predict for 9:00 and the training has used times: 7:30, 8:00, 8:30, 9:00, and tried to predict for 9:30.

More to follow

peterdudfield commented 1 year ago

The training data, t0=05.35 gsp times are '2020-09-04T03:30:00.000000000', '2020-09-04T04:00:00.000000000', '2020-09-04T04:30:00.000000000', '2020-09-04T05:00:00.000000000', '2020-09-04T05:30:00.000000000', '2020-09-04T06:00:00.000000000', '2020-09-04T06:30:00.000000000', '2020-09-04T07:00:00.000000000', '2020-09-04T07:30:00.000000000', '2020-09-04T08:00:00.000000000', '2020-09-04T08:30:00.000000000', '2020-09-04T09:00:00.000000000', '2020-09-04T09:30:00.000000000', '2020-09-04T10:00:00.000000000', '2020-09-04T10:30:00.000000000', '2020-09-04T11:00:00.000000000', '2020-09-04T11:30:00.000000000', '2020-09-04T12:00:00.000000000', '2020-09-04T12:30:00.000000000', '2020-09-04T13:00:00.000000000',

peterdudfield commented 1 year ago

Currently, that model is trained on 30 mins to 0 minutes of historic satellite data, Live used 1 hour but due to delay uses 1 hour to 30 mins historic values

Trained 05.35 uses '2020-09-04T05:05:00.000000000', '2020-09-04T05:10:00.000000000', '2020-09-04T05:15:00.000000000', '2020-09-04T05:20:00.000000000', '2020-09-04T05:25:00.000000000', '2020-09-04T05:30:00.000000000', '2020-09-04T05:35:00.000000000'.

   Infact in live nothing before 05:00 is available. Need to put in delay of 1 hour
peterdudfield commented 1 year ago

I think i solved it.

This happened becasue

Now