openclimatefix / pvnet_app

Application for running PVNet in production
MIT License
1 stars 3 forks source link

Improved delay #56 #57

Closed Shwet310 closed 3 months ago

Shwet310 commented 3 months ago

Pull Request

Description

We calculate delay_minutes_5 by converting sat_delay_5 to seconds, adding 15 minutes for t0, and then converting it to minutes. The logger.info message for the 5-minute delay now displays the delay in minutes with respect to t0. Similarly, for the 15-minute delay, we calculate delay_minutes_15 by subtracting t0 from latest_time_15 and converting it to minutes. The logger.info message for the 15-minute delay also displays the delay in minutes with respect to t0. The use_15_minute flag is used to determine if the code should switch to using 15-minute data. If it's set, the code proceeds to load and log information about the 15-minute satellite data.

dfulu commented 3 months ago

Hi @Shwet310, thanks very much for working on this. Issue #56 was addressed by pull request #60 which was completed before you could complete this. I hope to see you in other issues in the future