Winds (wind_direction, wind_gust, wind_speed)

Overview

Currently there are seven wind measurements reported from the Campbell logger.

minimum_wind_speed
wind_gust
Scalar averaged wind speed, wind_speed_sc
Vector averaged wind speed, wind_speed_ve
Unit Vector averaged wind direction, wind_direction_uv
Vector averaged wind direction, wind_direction_ve
Unit Vector averaged wind direction standard deviation, wind_direction_stddev_uv
Vector averaged wind direction standard deviation, wind_direction_stddev_ve

The quantity wind_speed is being defined as the scalar speed. Wind direction is being defined as the vector average. Wind speed is taken as is. There are two simple offsets that may need to be applied to the wind directions after they are reported, magnetic variation, and the ad hoc offset if a compass was not properly calibrated pre-deployment.

Input

  1. wind_speed_sc

  2. wind_direction_uv

Ancillary Requirements

  1. Magnetic variation, a global attribute in the NetCDF file, global::magnetic_variation

  2. Ad hoc offset (hopefully this is zero).

MATLAB m-file

compute_wind_direction.m. Consult the appendix for the implementation.

Output

wind_direction in angular degrees
wind_speed in m/s
wind_gust in m/s