Quick Answer: Weather is predicted by feeding enormous amounts of real-time atmospheric data into computer models. The data comes from weather stations, satellites, radar, and weather balloons. The models simulate the physics of the atmosphere. Forecasters compare model output with what actually happens to refine the next forecast. Recent advances add machine learning, which learns patterns from decades of past weather data.
The data foundation
Every forecast begins with observations. Ground stations report temperature, pressure, humidity, and wind. Weather balloons carry instruments through the atmosphere twice a day. Satellites image clouds and measure temperature and moisture from orbit. Radar tracks precipitation in real time. The NOAA JetStream school explains how these observation systems feed the forecasting process. The data is only as good as its coverage. Ocean and polar regions have far fewer observations, which is one reason forecasts there are less certain.
Numerical weather prediction
Modern forecasting is numerical weather prediction (NWP). Supercomputers divide the atmosphere into a three-dimensional grid. They solve the physical equations of fluid motion, thermodynamics, and radiation to project how the atmosphere will evolve. The equations cannot be solved exactly, so models use approximations at a limited resolution. This makes small details like a single thunderstorm less reliably predicted than large systems like a moving cold front.
The classic account of this approach is the 2015 review "The quiet revolution of numerical weather prediction". It describes how forecast skill has improved by about a day per decade since the 1980s. In other words, a forecast today stays about as accurate one day further ahead as a forecast from ten years earlier. Forecasters never use one model alone. They compare many model runs (an ensemble) and use the spread between them to estimate confidence.
The machine-learning turn
Since the early 2020s, machine learning has entered operational forecasting. Instead of solving the physics equations from scratch, ML models are trained on decades of reanalyzed weather data. They learn the statistical patterns of atmospheric evolution. Reviews of AI-based weather prediction report that some ML models now match or exceed traditional models for medium-range forecasts. Those models also run thousands of times faster. The trade-off is interpretability. Physics models are built on equations we understand, while ML models are harder to inspect. That is why operational centers are combining both approaches.
Forecasting for everyone
Professional forecasting tools have become widely accessible. Public data portals, open-source model output, and browser-based mapping tools let students and hobbyists pull live weather data and build their own forecast displays. Anyone can follow the same observations and model output the professionals use. Interpreting it well still takes training.
Beyond the atmosphere
The same forecasting methods are being applied to other prediction problems. These methods include data assimilation, ensemble modeling, and now machine learning. The problems include infectious disease spread, air quality, wildfire risk, and ocean conditions. Weather forecasting has effectively become the testbed for a general approach to predicting complex systems.
The bottom line
Weather prediction is data plus physics plus computing. Observations describe the current atmosphere, numerical models project it forward, and ensembles quantify uncertainty. Machine learning is adding a faster, pattern-based complement. The forecast you check on your phone is the product of all three layers — and of decades of steady improvement in each.
Sources & further reading
That’s the mechanism. The wonder is still allowed.



