Modern weather forecasts rely on complex computer simulators. These simulators use all the physics equations that describe the atmosphere, including the movement of air, the sun's warmth, and the formation of clouds and rain.
But you don't need a supercomputer to predict how the weather above your head is likely to change over the next few hours – this has been known across cultures for millennia.
By keeping an eye on the skies above you, and knowing a little about how clouds form, you can predict whether rain is on the way.
And moreover, a little understanding of the physics behind cloud formation highlights the complexity of the atmosphere, and sheds some light on why predicting the weather beyond a few days is such a challenging problem.
So here are six clouds to keep an eye out for, and how they can help you understand the weather.
Clouds form when air cools to the dew point, the temperature at which the air can no longer hold all its water vapour. At this temperature, water vapour condenses to form droplets of liquid water, which we observe as a cloud.
For this process to happen, we require air to be forced to rise in the atmosphere, or for moist air to come into contact with a cold surface.
On a sunny day, the sun's radiation heats the land, which in turn heats the air just above it. This warmed air rises by convection and forms Cumulus. These "fair weather" clouds look like cotton wool.
If you look at a sky filled with cumulus, you may notice they have flat bases, which all lie at the same level. At this height, air from ground level has cooled to the dew point. Cumulus clouds do not generally rain – you're in for fine weather.
While small Cumulus do not rain, if you notice Cumulus getting larger and extending higher into the atmosphere, it's a sign that intense rain is on the way. This is common in the summer, with morning Cumulus developing into deep Cumulonimbus (thunderstorm) clouds in the afternoon.
Near the ground, Cumulonimbus are well defined, but higher up they start to look wispy at the edges. This transition indicates that the cloud is no longer made of water droplets, but ice crystals. When gusts of wind blow water droplets outside the cloud, they rapidly evaporate in the drier environment, giving water clouds a very sharp edge.
On the other hand, ice crystals carried outside the cloud do not quickly evaporate, giving a wispy appearance.
Cumulonimbus are often flat-topped. Within the Cumulonimbus, warm air rises by convection. In doing so, it gradually cools until it is the same temperature as the surrounding atmosphere.
At this level, the air is no longer buoyant so cannot rise further. Instead it spreads out, forming a characteristic anvil shape.
Cirrus form very high in the atmosphere. They are wispy, being composed entirely of ice crystals falling through the atmosphere. If Cirrus are carried horizontally by winds moving at different speeds, they take a characteristic hooked shape.
Only at very high altitudes or latitudes do Cirrus produce rain at ground level.
But if you notice that Cirrus begins to cover more of the sky, and gets lower and thicker, this is a good indication that a warm front is approaching. In a warm front, a warm and a cold air mass meet. The lighter warm air is forced to rise over the cold air mass, leading to cloud formation.
The lowering clouds indicate that the front is drawing near, giving a period of rain in the next 12 hours.
Stratus is a low continuous cloud sheet covering the sky. Stratus forms by gently rising air, or by a mild wind bringing moist air over a cold land or sea surface. Stratus cloud is thin, so while conditions may feel gloomy, rain is unlikely, and at most will be a light drizzle.
Stratus is identical to fog, so if you've ever been walking in the mountains on a foggy day, you've been walking in the clouds.
Our final two cloud types will not help you predict the coming weather, but they do give a glimpse of the extraordinarily complicated motions of the atmosphere.
Smooth, lens-shaped Lenticular clouds form as air is blown up and over a mountain range.
Once past the mountain, the air sinks back to its previous level. As it sinks, it warms and the cloud evaporates. But it can overshoot, in which case the air mass bobs back up allowing another Lenticular cloud to form.
This can lead to a string of clouds, extending some way beyond the mountain range. The interaction of wind with mountains and other surface features is one of the many details that have to be represented in computer simulators to get accurate predictions of the weather.
And lastly, my personal favourite. The Kelvin-Helmholtz cloud resembles a breaking ocean wave.
When air masses at different heights move horizontally with different speeds, the situation becomes unstable. The boundary between the air masses begins to ripple, eventually forming larger waves.
Kelvin-Helmholtz clouds are rare – the only time I spotted one was over Jutland, western Denmark – because we can only see this process taking place in the atmosphere if the lower air mass contains a cloud.
The cloud can then trace out the breaking waves, revealing the intricacy of the otherwise invisible motions above our heads.