Instument used to measure wind?

The wind direction is measured with wind vanes or wind socks.

The wind speed is measured with an anemometer.