Class WX::Groups::Wind
In: lib/wx/groups.rb
Parent: Object

Methods

calm?   compass   degrees   gust?   gusting?   gusts?   knots   kts   mph   new   pf   rad   radians   rads   to_s   variable?   vrb?  

External Aliases

direction -> dir
direction -> deg
gust -> gusts
gust -> gusting_to
variable -> variable_range

Attributes

direction  [R]  Angle Unit
gust  [R]  Speed Unit
speed  [R]  Speed Unit
variable  [R]  If wind is strong and variable, this will be a two-element Array containing the angle Unit limits of the range, e.g. [‘10 deg’.unit, ‘200 deg’.unit]

Public Class methods

Public Instance methods

returns one of the eight compass rose names e.g. N, NNE, NE, ENE, etc.

gust?()

Alias for gusting?

gusts?()

Alias for gusting?

kts()

Alias for knots

print a float to d decimal places leaving off trailing 0s

rad()

Alias for radians

rads()

Alias for radians

If wind is strong and variable or light and variable

[Validate]