How do I calculate the average wind speed and direction from a list of values over a period?
const directions = ["S","S","NE","SW","NNE","N"];
const speeds = [11,9,9,7,18,10]
There numerous resources online to calculate the average between A and B (javascript, MYSQL, SQLServer), but nothing that is simple to understand and easy to use.