title: Converting wind direction in angles to text words
body: <p>I have wind direction data coming from a weather vane, and the data is represented in 0 to 359 degrees.</p>
  
  <p>I want to convert this into text format (compass rose) with 16 different directions.</p>
  
  <p>Basically I want to know if there is a fast slick way to scale the angle reading to a 16 string array to print out the correct wind direction without using a bunch of if statements and checking for ranges of angles</p>
  
  <p>Wind direction can be found <a href="http://www.climate.umn.edu/snow_fence/components/winddirectionanddegreeswithouttable3.htm" rel="noreferrer">here</a>.</p>
  
  <p>thanks!</p>