added scaling to diode values and wind direction