A geomagnetic storm is set to hit Earth after NASA warned of a "significant" flare eruption from the Sun.