Explain how distance from the ocean affects climate