What is the instrument used to measure armosperic wind?

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

The wind speed is measured with an anemometer.