Wind Direction Calculator
Convert wind direction between compass degrees and named bearings.
📐 計算公式
風向 16 方位換算(本頁程式碼口徑,查表對映、無算術公式):角度先歸一化 ((deg mod 360)+360) mod 360;方位索引 idx=Math.round(角度÷22.5) mod 16,查 16 方位表 N/NNE/NE/ENE/E/ESE/SE/SSE/S/SSW/SW/WSW/W/WNW/NW/NNW;聯動量:方位角弧度=角度×π÷180、相反風向=方位表第 (idx+8) mod 16 項。校驗:空值即提示;角度須為有效數值,按 ((deg mod 360)+360) mod 360 歸一(負角與 >360° 合法)。判據:每 22.5° 一檔,四捨五入歸屬最近方位。
由風向角度(°)對映到 16 方位羅盤名稱(如 N、NE、SSW)。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Wind direction | Direction = where wind comes from | WMO No.8 §5 |
| 16-point compass | 22.5° increments | WMO No.8 |
| Azimuth conversion | 0 N, 90 E, 180 S, 270 W | Observation specs |
| u-v components | u = −V sinθ, v = −V cosθ | Vector decomposition |
| Beaufort scale | 0–17 scale | GB/T 28591-2012 |
| Surface wind | 10 m height, 10-min mean | WMO No.8 |
📌 計算說明
- 氣象風向指風的來向:225° 表示西南風(從西南吹來)。