Ionospheric control of auroral occurrence