This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Converts direction in degrees to a text based description, e.g. 25 returns NNE | |
/// </summary> | |
/// <param name="windDirectionDegrees">Direction in degrees</param> | |
/// <returns>Wind direction as text</returns> | |
private string GetWindDirection(double windDirectionDegrees) | |
{ | |
if (windDirectionDegrees > 348.75 && windDirectionDegrees < 11.25) | |
{ |
NewerOlder