Vectorial capacity across an environmental gradient