Weather::YR::Model::WindDirection
This class represents a data point's wind direction.
This class inherits all the methods from Weather::YR::Model and provides the following new methods:
Returns the current data point's wind direction in degrees.
Returns the current data point's wind direction as a name, ie. "N" for north, "SW" for south-east etc.
To install Weather::YR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Weather::YR
CPAN shell
perl -MCPAN -e shell install Weather::YR
For more information on module installation, please visit the detailed CPAN module installation guide.