It’s notoriously difficult to predict when the sun will belch out a large solar flare — an explosive burst of radiation that directly affects Earth’s atmosphere.