Vegetation composition and density modifies the effects of rainfall on ecosystem primary production. In turn, rainfall regime modifies vegetation composition.