JACKSON, Wyo. — On winter mornings, a blanket of clouds hovering over the Jackson Hole valley is a sure sign of a temperature inversion: when the air in the valley is colder than the air above it.

This phenomenon occurs because cold air is denser than warm air and therefore it sinks and fills in lower elevation areas. A temperature inversion is more likely when the sky is clear and the wind is calm, according to the National Weather Service. An inversion typically happens in the late afternoon/early evening (before sunset) and lingers into the next morning (after sunrise) for a few hours.

According to Jackson Hole Mountain Resort, temperatures on the upper mountain can be 30 to 40 degrees warmer than at the valley floor. Often a sight seen from Teton Pass or the Jackson Hole Tram, inversions make for a dramatic view at higher elevations.

Image: Utah Department of Environmental Quality

One kind of weather pattern that often creates the conditions for a temperature inversion is an upper-level ridge with an associated high-pressure system, according to OpenSnow. Patterns like this can happen across the continent, but tend to be more common in mountainous regions.

Inversions can come with a downside, though. In areas with pollution, temperature inversions can trap pollutants in mountain valleys and create hazardous air quality. Salt Lake City occasionally experiences this winter phenomenon. According to the Utah Department of Environmental Quality, a strong storm or low-pressure system is often needed to clear out the inversion.

This story runs annually.