Climates are most commonly classified by temperature and precipitation . Climates can be classified according to the average and the typical ranges of different variables , most commonly temperature and precipitation .