A comprehensive assessment of ions in snow and ice cores based on global observational data