[rrd-users] Can this kind of chart be drawn with RRDTool ?
Jean-Yves Avenard
jyavenard at gmail.com
Sat Feb 20 01:44:39 CET 2010
Hi
On 20 February 2010 11:16, Koaps <koaps at yahoo.com> wrote:
> Hehe,
>
> I'm making progress too...
>
> You had to get the idea stuck in my head...
>
> https://test.null.bz/test9.php
> https://test.null.bz/test9.phps
>
> I looked up your domain to get a location, so the script will figure out sunset and sunrise for your Lat. Long and then try to make a gradient.
Very cool... Getting there...
I programmed a PHP module computing the sunset/sunrise/twilight/solar
noon if you're interested. I used the algorithm from
http://www.srrb.noaa.gov/highlights/sunrise/sunrise.html
It's a bit more accurate than the various calculators you can find
online, as there are automatic corrections based on your longitude and
the year you're in...
I tried a RRDtool only solution ; it has gotten into a new game of
mine on doing stuff with rrdtool that clearly wasn't originally
designed for ... very fun
More information about the rrd-users
mailing list