The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.