Coupling soil-atmosphere mass and energy fluxes: the effect of the soil surface resistance on vapor flux