Instrument that measured wind speed and direction?

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

The wind speed is measured with an anemometer.