what is the instrument that measures wind speed called
The larger opening of a windsock faces the direction that the wind is blowing from; its tail, with the smaller opening, points in the direction the wind is blowing. Modern instruments used to measure wind speed and direction are called anemometers and wind vanes, respectively. These types of instruments are used by the wind energy industry, both for wind resource assessment and turbine control.