Beach sand ripples can be fingerprints for ancient weather conditions, study shows.