Detection of the effects of water stress on woody plants