Forest-air exchange in non-ideal conditions: the role of horizontal flux and its divergence.