BP,
AFAIK they use doppler Wx radar will measure wind speed and direction. The radar is only capable of measuring horizontal head or tailwinds, cannot measure vertical or cross wind variations.
The software makes assumtions that for the corresponding horizontal variation there is a corresponding vertical component, leading to a "prediction" of windshear, when a threashold is exceeded a warning is generated.
My simplistic understanding.