Untangling the role of climate on sediment and reefs