creating a loop

Creating a wind direction mean and correlate with the abs.