The atmosphere is modelled as a fluid. The basic idea of numerical weather prediction is to sample the state of the fluid at a given time. The equations of fluid dynamics and thermodynamics can then be used to estimate the state of the fluid at some time in the future.