[rrd-users] How store wind vector data?
Peter
pspiegler at gmx.de
Wed Apr 9 13:53:14 CEST 2014
Because 0° is North and 90° East the formulas must be:
Wind_North = velocity * cos(direction * PI / 180)
Wind_East = velocity * sin(direction * PI / 180)
velocity = Sqrt(Wind_North^2 + Wind_East^2)
direction = Atan2(Wind_North, Wind_East) * 180 / PI
--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/How-store-wind-vector-data-tp7581910p7581915.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users
mailing list