---
title: Average wind data
description: "Since the wind direction is in polar coordinates a basic average will not work. I.e., average values of 355° and 5°, you will result in 180° instead of 0°. Therefore, the wind direction should be averaged **direction** **dependent**. Note: The…"
url: "https://datalystica.com/docs/average-wind-data/"
updated: "2022-07-27"
category: Prepare/Run PMF
---

# Average wind data

Since the wind direction is in polar coordinates a basic average will not work. I.e., average values of 355° and 5°, you will result in 180° instead of 0°. Therefore, the wind direction should be averaged **direction** **dependent**.

Note: The wind direction is only averaged direction dependent when the name of the wave with the wind direction information is “wind_dir”. Wind speed is averaged direction dependent when the name of the wave with the wind velocity information is “wind_vel”. Moreover, the direction dependent averaging for the wind_velocity is not directly popped on the “sanity_plot” graph (this graph shows the normally averaged wind velocity), but the wave is generated and stored under the corresponding Time series folder with the name “wind_vel_degdep”.
