openclimatefix / india-forecast-app

Runs wind and PV forecasts for India and saves to database
MIT License
1 stars 4 forks source link

round fake forecast times to 15 minutes #13

Closed peterdudfield closed 7 months ago

peterdudfield commented 7 months ago

Detailed Description

Need to round the fake forecaster times to 15 minutes. Otherwise we get to many values in the database.

Context

when reading the databse we pull the latest datetime, if not rounded, then we get lots of values

Possible Implementation

round this here https://github.com/openclimatefix/india-forecast-app/blob/main/india_forecast_app/app.py#L142 to closes 15 minutes