Detection of major weather patterns reduces number of simulations in climate impact studies