openclimatefix / uk-pv-national-xg

National PV forecasting using Gradient Boosted Methods.
4 stars 3 forks source link

pvlevels not in database #91

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

Describe the bug

Expect plevels to be saved in properties column

To Reproduce

Steps to reproduce the behavior:

  1. connect to database
  2. select * from forecast_value_latest where gsp_id=0 and target_time > '2023-07-13 23:00' order by target_time, created_utc desc

Expected behavior

Expect to have 10 and 90 probabilistic levels in database

Additional context

  1. Add to / add test that checks plevels are made in database
  2. Run XG boost locally and DEBUG (add print statements e.t.c)
  3. See what columns come out of dataframe of the model
  4. Potential problem could be save.py function
peterdudfield commented 1 year ago

Turns out the upgrade had not happened on Terraform Cloud