How to translate wind direction to degree number? #283
Unanswered
STDataAndInformationService
asked this question in
Q&A
Replies: 2 comments
-
Just Google it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yikes...apparently noaa.gov used to be hosted by geocities. Lots of options online. Some existing libraries that do it for you, but not sure which language you're using. Most simply find the index of an array of compass names then multiply the index by 22.5 (which is 360/16). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The wind direction in the forecaster is [char], such as E, ENE, N, etc.
How can I convert it to degree number? such 345, 10, etc.
I found a post here https://www7.ncdc.noaa.gov/climvis/help_wind.html
Is this a correct reference?
thanks,
Beta Was this translation helpful? Give feedback.
All reactions