Hot, diamagnetic cavities upstream from the Earth's bow shock