Magnetometers can give an indication of auroral activity before the light from the aurora becomes visible. A grid of magnetometers around the world constantly measures the effect of the solar wind on the Earth's magnetic field, which is then published on the K-index.