Aurora and the poleward edge of the main ionospheric trough