An introduction to atmospheric physics