Data from past eruptions could reduce future volcano hazards