Pistachio is a desert plant and is highly tolerant of saline soil. It has been reported to grow well when irrigated with water having 3,000–4,000 ppm of soluble salts. Pistachio trees are fairly hardy in the right conditions and can survive temperatures ranging between −10 °C (14 °F) in winter and 48 °C (118 °F) in summer. They need a sunny position and well-drained soil. Pistachio trees do poorly in conditions of high humidity and are susceptible to root rot in winter if they get too much water and the soil is not sufficiently free-draining. Long, hot summers are required for proper ripening of the fruit.