When you travel with your pet, keeping track of the weather can make the trip safe and fun for everyone. The hottest months are usually August and July, with an average temperature of 29°C, while the coldest months are January and December, with an average of 27°C. Average annual precipitation for San Francisco is 1023 mm.