NAME

Weather::YR::Model::WindDirection

DESCRIPTION

This class represents a data point's wind direction.

METHODS

This class inherits all the methods from Weather::YR::Model and provides the following new methods:

degrees

Returns the current data point's wind direction in degrees.

name

Returns the current data point's wind direction as a name, ie. "N" for north, "SW" for south-east etc.