[rrd-users] How store wind vector data?

Peter pspiegler at gmx.de
Wed Apr 9 10:20:14 CEST 2014


Hi,
from a weather station I read wind vector data (velocity & direction) every
minute.

I want store it in a rrd file to show it with rrdgraph:
for last week: per minute
for last month: mean values per 10 minute
for last year: mean values per hour

The aggregate functions AVERAGE is not useful for the wind direction alone.
My idea:
make 6 data sources:
velocity_min, direction_min
velocity_10min, direction_10min
velocity_h, direction_h
And after every update velocity_min,direction_min with an external program:
----
  read the last 10 velocity_min, direction_min,
  calculate the vectorially average, 
  update velocity_10min, direction_10min
----
  read the last 6 velocity_10min, direction_10min,
  calculate the vectorially average, 
  update velocity_h, direction_h
----
Is there a better solution possible?

Peter






--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/How-store-wind-vector-data-tp7581910.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list