The long-term patterns of temperature, precipitation, and other weather conditions in an ecosystem, which impact its ability to support life.