Understanding solar corrosion