Skip to content
Discussion options

You must be logged in to vote

To correct you slightly, @felixheyne (and it might be a translation thing), the values are interpolated (and updated) every five minutes, and not seconds.

Historically (before BJ and I became custodians of the code) this value was interpolated for many moons. When we took over it was a simple linear interpolation, or followed a straight line between per-half hour intervals. While good, this was visually jarring when historical data was charted using something like an Apex chart.

I implemented a much more sophisticated 'spline' interpolation later, which follows an interpolated curve to more closely match what the sun does.

In fact, two distinct types of splines are built. One set for the …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by BJReplay
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants