Convert Wind Direction (degrees) to Compass Points

Dear All,

for OH3 user I create my first widget for personal weather station
You can find it here

you can use also with other weather binding, but wind direction must be in degrees…
Any improvements and comment are welocme